@font-face{
  font-family:"TT Interphases Pro";
  src:local("TT Interphases Pro"),local("TT Interphases Pro Regular"),url("/static/fonts/TTInterphasesPro-Regular.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:optional;
}
:root{
  --bg:#f4f5f7;
  --surface:#fff;
  --surface-2:#f8f9fb;
  --text:#101217;
  --muted:#7a808c;
  --line:#e4e7ec;
  --black:#0b0d10;
  --black-2:#15191e;
  --yellow:#ffc900;
  --yellow-2:#ffad00;
  --orange:#ff6900;
  --green:#079653;
  --green-soft:#e9f8ef;
  --red:#ff4f5d;
  --blue:#1683ff;
  --shadow:0 18px 48px rgba(18,24,33,.09);
  --shadow-soft:0 8px 24px rgba(18,24,33,.065);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Manrope","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
img{max-width:100%}
.container{width:min(1500px,calc(100% - 48px));margin-inline:auto}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Unified banner + header */
.site-hero-shell{position:relative;isolation:isolate;overflow:hidden;min-height:354px;color:#fff;background:
  radial-gradient(circle at 12% -18%,rgba(255,201,0,.24),transparent 34%),
  radial-gradient(circle at 70% 40%,rgba(255,173,0,.10),transparent 32%),
  repeating-linear-gradient(132deg,transparent 0 145px,rgba(255,183,0,.09) 146px 148px,transparent 149px 280px),
  linear-gradient(115deg,#050607 0%,#0b0d0f 55%,#08090b 100%);
border-bottom:1px solid rgba(255,201,0,.28)}
.site-hero-shell:before{content:"";position:absolute;inset:auto -9% -150px -5%;height:210px;background:linear-gradient(106deg,transparent 5%,rgba(255,201,0,.92) 5.4% 8.2%,transparent 8.6% 87%,rgba(255,174,0,.8) 87.4% 91%,transparent 91.5%);transform:rotate(-2deg);opacity:.55;z-index:-1}
.site-hero-shell:after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.08) .55px,transparent .55px);background-size:5px 5px;opacity:.22;pointer-events:none;z-index:-2}
.hero-glow{position:absolute;width:430px;height:2px;background:linear-gradient(90deg,transparent,var(--yellow),transparent);filter:blur(.3px);box-shadow:0 0 16px rgba(255,190,0,.7);opacity:.65;transform:rotate(-38deg);z-index:-1}
.hero-glow-a{top:55px;left:37%}.hero-glow-b{right:-50px;bottom:55px}
.hero-shell-inner{min-height:354px;display:grid;grid-template-columns:minmax(390px,1fr) 430px 320px;grid-template-rows:1fr auto;gap:8px 26px;align-items:center;padding-block:26px 22px}
.hero-brand{grid-column:1;grid-row:1;display:flex;align-items:center;gap:20px;align-self:center;max-width:520px}
.brand-mark{width:96px;height:96px;flex:0 0 96px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ffd834,#ffb800);box-shadow:0 0 0 1px rgba(255,255,255,.12),0 0 38px rgba(255,193,0,.25);transform:rotate(-4deg)}
.brand-mark i{position:relative;width:58px;height:38px;display:block}
.brand-mark i:before,.brand-mark i:after{content:"";position:absolute;background:#090a0b;transform:skewX(-22deg);border-radius:2px}
.brand-mark i:before{width:36px;height:18px;left:0;top:3px;clip-path:polygon(0 0,100% 0,70% 100%,44% 100%,55% 48%,22% 100%,0 100%)}
.brand-mark i:after{width:36px;height:18px;right:0;bottom:2px;clip-path:polygon(28% 0,55% 0,45% 52%,78% 0,100% 0,72% 100%,0 100%)}
.hero-brand-copy{display:flex;flex-direction:column;min-width:0}
.brand-word{display:flex;align-items:baseline;gap:4px;font-family:"Unbounded","Manrope",sans-serif;font-size:44px;font-weight:800;line-height:.95;letter-spacing:-.075em;text-transform:uppercase;font-style:normal;white-space:nowrap}
.brand-word b{font-weight:800}.brand-word em{font-style:normal;color:var(--yellow)}
.brand-slogan{margin-top:16px;font-size:20px;font-weight:600;letter-spacing:-.02em;color:#f0f1f3}
.hero-brand-copy>strong{font-size:22px;color:var(--yellow);margin-top:1px}
.hero-benefits{grid-column:1;grid-row:2;display:flex;align-items:center;gap:0;align-self:end;border-top:1px solid rgba(255,255,255,.22);padding-top:16px;max-width:620px}
.hero-benefits>span{display:grid;grid-template-columns:30px auto;grid-template-rows:auto auto;column-gap:8px;min-width:0;padding:0 18px;border-right:1px solid rgba(255,255,255,.18)}
.hero-benefits>span:first-child{padding-left:0}.hero-benefits>span:last-child{border-right:0}
.hero-benefits i{grid-row:1/3;align-self:center;font-style:normal;font-size:22px;filter:saturate(1.15)}
.hero-benefits b{text-transform:uppercase;font-size:10px;line-height:1.1}.hero-benefits small{text-transform:uppercase;font-size:9px;color:#e0e2e6;font-weight:700;margin-top:2px}
.hero-art-frame{grid-column:2;grid-row:1/3;height:324px;align-self:center;display:flex;align-items:center;justify-content:center;overflow:hidden;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse at center,#000 58%,rgba(0,0,0,.92) 72%,transparent 100%);mask-image:radial-gradient(ellipse at center,#000 58%,rgba(0,0,0,.92) 72%,transparent 100%)}
.hero-art-frame img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 25px 38px rgba(0,0,0,.5));transform:scale(1.07)}
.hero-social-block{grid-column:3;grid-row:1/3;justify-self:end;display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}
.hero-social-block>b{font-size:15px;letter-spacing:-.02em;color:#f5f5f5}
.socials{display:flex;gap:16px;align-items:flex-start}
.social-card{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:70px;color:#fff;transition:transform .2s ease,filter .2s ease}
.social-card:hover{transform:translateY(-5px)}
.social-icon{width:62px;height:62px;border-radius:17px;display:grid;place-items:center;font-weight:900;font-size:20px;border:1px solid rgba(255,255,255,.32);box-shadow:0 8px 24px rgba(0,0,0,.35);transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
.social-card small{font-size:10px;font-weight:700;color:#e7e8eb}
.social-vk .social-icon{background:linear-gradient(145deg,#2787f5,#0873dd)}
.social-vk:hover .social-icon{box-shadow:0 0 0 1px rgba(95,181,255,.55),0 0 28px rgba(39,135,245,.95),0 10px 28px rgba(0,0,0,.4);border-color:#8fd2ff}
.social-max .social-icon{position:relative;overflow:hidden;background:conic-gradient(from 35deg,#43d7ff,#7558ff 35%,#df48e9 58%,#7358ff 78%,#43d7ff)}
.social-max .social-icon:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 7px rgba(102,74,235,.13)}
.social-max .social-icon i{position:relative;z-index:1;width:17px;height:17px;border-radius:50%;background:linear-gradient(145deg,#683cff,#d743dc);box-shadow:-10px 8px 0 -3px #7658f5}
.social-max:hover .social-icon{box-shadow:0 0 0 1px rgba(222,89,255,.55),0 0 30px rgba(164,70,255,.95),0 10px 28px rgba(0,0,0,.4);border-color:#ef8dff}
.social-tg .social-icon{background:linear-gradient(145deg,#38bdf8,#1486d4)}
.social-tg .social-icon svg{width:31px;height:31px;fill:#fff}
.social-tg:hover .social-icon{box-shadow:0 0 0 1px rgba(104,213,255,.55),0 0 30px rgba(34,158,217,.95),0 10px 28px rgba(0,0,0,.4);border-color:#91ddff}
.site-hero-shell.is-compact{min-height:154px}
.site-hero-shell.is-compact .hero-shell-inner{min-height:154px;grid-template-columns:minmax(450px,1fr) 330px;grid-template-rows:auto auto;padding-block:18px}
.site-hero-shell.is-compact .hero-art-frame{display:none}
.site-hero-shell.is-compact .hero-brand{grid-column:1;grid-row:1;margin:0}.site-hero-shell.is-compact .brand-mark{width:66px;height:66px;flex-basis:66px}.site-hero-shell.is-compact .brand-mark i{transform:scale(.76)}
.site-hero-shell.is-compact .brand-word{font-size:31px}.site-hero-shell.is-compact .brand-slogan{font-size:14px;margin-top:7px}.site-hero-shell.is-compact .hero-brand-copy>strong{font-size:15px}
.site-hero-shell.is-compact .hero-benefits{grid-column:1;grid-row:2;padding-top:7px;border-top:0}.site-hero-shell.is-compact .hero-benefits>span{padding-inline:12px}.site-hero-shell.is-compact .hero-benefits i{font-size:16px}.site-hero-shell.is-compact .hero-benefits b{font-size:8px}.site-hero-shell.is-compact .hero-benefits small{font-size:7px}
.site-hero-shell.is-compact .hero-social-block{grid-column:2;grid-row:1/3}.site-hero-shell.is-compact .social-icon{width:48px;height:48px;border-radius:14px}.site-hero-shell.is-compact .socials{gap:12px}.site-hero-shell.is-compact .hero-social-block>b{font-size:12px}

/* Overall layout */
.catalog-layout{display:grid;grid-template-columns:252px minmax(0,1fr);gap:24px;align-items:start;padding-top:18px;padding-bottom:70px}
.catalog-layout.no-sidebar{grid-template-columns:1fr}
.catalog-main{min-width:0}
.page-with-sidebar{padding-top:22px}
.home-layout{padding-top:18px}
.category-page,.market-category-page,.brand-page,.product-page{padding-top:4px}
.crumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#727986;font-size:11px;margin:0 0 20px;min-width:0}
.crumbs a:hover{color:#111;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:3px}
.eyebrow{display:inline-block;font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--yellow);text-transform:uppercase}
.eyebrow.dark{color:#887200}
.page-context-note{color:#727986;margin:0 0 18px;font-size:13px}
.category-page>h1,.market-category-page>h1{font-family:"Unbounded","Manrope",sans-serif;font-size:34px;line-height:1.15;letter-spacing:-.045em;margin:9px 0 14px;max-width:1050px}

/* Left catalog — no internal scrollbar */
.catalog-sidebar{position:sticky;top:18px;align-self:start;background:linear-gradient(165deg,#171c21,#0e1114);color:#f3f5f7;border:1px solid rgba(255,255,255,.06);border-radius:18px;box-shadow:0 16px 36px rgba(14,18,22,.14);overflow:hidden}
.catalog-sidebar-head{padding:18px 18px 15px;border-bottom:1px solid rgba(255,255,255,.10);display:flex;flex-direction:column;gap:3px}
.catalog-sidebar-head>div{display:flex;flex-direction:column;gap:4px}.catalog-sidebar-head span{color:var(--yellow);font-size:9px;font-weight:900;letter-spacing:.14em}.catalog-sidebar-head strong{font-size:15px}.catalog-sidebar-head small{color:#8f98a3;font-size:9px}
.catalog-sidebar-scroll{max-height:none;overflow:visible;padding:10px 10px 14px}
.catalog-tree,.catalog-tree ul{list-style:none;padding:0;margin:0}.catalog-tree ul{padding-left:13px}
.catalog-tree-item{margin:1px 0}
.catalog-tree-link{position:relative;display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 10px 8px 31px;border-radius:10px;color:#d8dde3;font-size:11px;font-weight:700;transition:background .16s,color .16s,transform .16s}
.catalog-tree-link:before{content:"";position:absolute;left:11px;width:11px;height:11px;border:1.5px solid #78818b;border-radius:3px;box-shadow:inset 0 -3px 0 rgba(120,129,139,.16)}
.catalog-tree-link:hover{background:#22282e;color:#fff;transform:translateX(2px)}.catalog-tree-link:hover:before{border-color:var(--yellow)}
.catalog-tree-link.active{background:#20262b;color:var(--yellow);box-shadow:inset 0 0 0 1px rgba(255,201,0,.72)}.catalog-tree-link.active:before{border-color:var(--yellow);background:rgba(255,201,0,.12)}
.catalog-tree-link>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.catalog-tree-link small{margin-left:auto;color:#8e98a3;font-size:9px;background:#252b31;border-radius:999px;padding:2px 6px}
.catalog-sidebar-empty{padding:18px;color:#929aa4;font-size:10px;line-height:1.5}

/* Controls */
.controls{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow-soft);padding:14px 16px}
.catalog-tabs{display:flex;gap:8px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.catalog-tab{position:relative;padding:10px 17px;border-radius:11px;background:#f5f6f8;font-size:12px;font-weight:900;transition:.17s}
.catalog-tab:hover{background:#eceef2;transform:translateY(-1px)}
.catalog-tab.active{background:#171a1f;color:#fff;box-shadow:inset 0 -3px 0 var(--yellow)}
.selection-label{font-size:10px;color:#7e8490;font-weight:900;margin-bottom:8px}
.category-scroll,.brand-category-scroll,.sort-row,.mechanic-switch{display:flex;align-items:center;gap:7px;min-width:0}
.category-scroll,.brand-category-scroll{flex-wrap:wrap;overflow:visible;padding-bottom:12px;border-bottom:1px solid var(--line)}
.chip,.sort-btn{white-space:nowrap;border:1px solid #e0e3e8;background:#fff;border-radius:10px;padding:8px 13px;font-size:11px;font-weight:800;line-height:1;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}
.chip:hover,.sort-btn:hover{transform:translateY(-1px);border-color:#cdd1d8;box-shadow:0 5px 14px rgba(25,30,38,.08)}
.chip.active{background:#171a1f;color:#fff;border-color:#171a1f}.chip.active:hover{background:#23272d}
.chip-count{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:5px;padding:0 5px;border-radius:999px;background:#eef0f3;color:#6d737d;font-size:8px}.chip.active .chip-count{background:rgba(255,255,255,.13);color:#fff}
.sort-row{flex-wrap:wrap;margin-top:12px}.sort-row>span,.mechanic-switch>span{font-size:10px;color:#7a808a;font-weight:850}.sort-btn.active{background:var(--yellow);border-color:#e7b700;color:#121212}.sort-btn.active:hover{background:#ffd62f}
.mechanic-switch{margin-top:10px;flex-wrap:wrap}

/* Feed */
.feed-section{padding:38px 0 8px}.home-controls+.feed-section{padding-top:36px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:16px}.section-head h2{font-family:"Unbounded","Manrope",sans-serif;font-size:25px;line-height:1.14;letter-spacing:-.045em;margin:6px 0 0}.count,.muted{font-size:10px;color:#777e89}.top-hint{display:block;color:#7b818b;font-size:9px;margin-top:5px}
.offer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.offer-card{min-width:0;height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid #e1e4e9;border-radius:16px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;box-shadow:0 4px 14px rgba(19,25,34,.025)}
.offer-card:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(22,28,38,.11);border-color:#d3d7dd}
.offer-card.is-top{border-color:#e6d082;box-shadow:0 5px 18px rgba(255,190,0,.08)}
.offer-image{position:relative;display:flex;width:100%;aspect-ratio:4/3;background:#fff;align-items:center;justify-content:center;overflow:hidden}
.offer-image img{width:100%;height:100%;display:block;object-fit:contain;object-position:center;padding:0;background:#fff}.offer-card:hover .offer-image img{transform:none}
.no-image{display:grid;place-items:center;width:100%;height:100%;font-family:"Unbounded",sans-serif;font-size:62px;font-weight:800;color:#c9ced5;background:linear-gradient(145deg,#f7f8fa,#f0f2f5)}.no-image.large{font-size:110px}
.offer-badges{position:absolute;left:10px;bottom:10px;top:auto;right:auto;z-index:2;display:flex;align-items:center;gap:5px;max-width:calc(100% - 20px);flex-wrap:wrap}
.discount-badge,.rub-badge,.top-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:6px 9px;font-weight:900;font-size:11px;line-height:1;box-shadow:0 5px 12px rgba(0,0,0,.13)}
.discount-badge{background:var(--red);color:#fff}.rub-badge{background:#16191e;color:#fff}.top-badge{background:var(--yellow);color:#111;order:-1}
.offer-body{min-width:0;flex:1;display:flex;flex-direction:column;padding:12px 12px 11px}
.offer-meta{min-width:0;display:flex;justify-content:space-between;align-items:center;gap:6px;color:#8b919b;font-size:9px;margin-bottom:7px;white-space:nowrap}.offer-meta>span{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden}.offer-meta a{min-width:0;overflow:hidden;text-overflow:ellipsis}.card-brand{color:#554bc4;font-weight:900;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-brand:before{content:"•";color:#b8bcc4;margin-right:5px}.muted-brand{color:#777e89}
.offer-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;min-height:52px;max-width:100%;font-size:13px;font-weight:850;line-height:1.34;letter-spacing:-.015em}.offer-title:hover{color:#343a43}
.offer-date-line{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;margin-top:8px;height:19px;font-size:8px;color:#9197a0}.offer-date-line>span:first-child{overflow:hidden;text-overflow:ellipsis}.valid-until{display:inline-flex;align-items:center;min-width:0;background:var(--green-soft);color:#087743;border-radius:6px;padding:4px 5px;font-size:7.5px;font-weight:850;white-space:nowrap}.valid-until.expired{background:#f2ecec;color:#9a5b61}
.price-row{display:flex;align-items:baseline;gap:7px;min-height:27px;margin-top:9px}.price-row strong{font-size:20px;line-height:1;letter-spacing:-.045em}.price-row s{font-size:9px;color:#a0a5ad;white-space:nowrap}.saving{min-height:16px;color:var(--green);font-size:9px;font-weight:850;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saving.big{font-size:13px;min-height:auto}
.offer-actions{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:11px;min-width:0}
.thermometer-rating{height:38px;display:grid;grid-template-columns:31px auto 8px 31px;align-items:center;border:1px solid #e0e4e9;background:#fff;border-radius:11px;overflow:hidden;flex:0 0 auto;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.vote-btn{width:31px;height:36px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;padding:0;transition:background .15s,transform .15s}.vote-btn:hover{background:#f3f5f7}.vote-btn:active{transform:scale(.9)}.vote-arrow{font-size:20px;line-height:1;font-weight:700}.vote-btn.minus .vote-arrow{color:#2384ff}.vote-btn.plus .vote-arrow{color:#ff4e4e}.vote-btn.active{background:#eef6ff}.vote-btn.plus.active{background:#fff0f0}.vote-count-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.rating-score{font-size:11px;font-weight:900;color:#ff513f;text-align:right;min-width:18px}.rating-score.negative{color:#2384ff}.rating-degree{font-size:10px;color:currentColor;font-weight:900;margin-left:-1px}
.card-promo{position:relative;min-width:0;max-width:176px;height:38px;flex:1;margin:0;padding:0;border:0;border-radius:10px;background:linear-gradient(180deg,#ff7a10,#ff6500);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:stretch;overflow:hidden;cursor:pointer;box-shadow:0 6px 14px rgba(255,105,0,.18);transition:transform .16s,box-shadow .16s,filter .16s}.card-promo:hover{transform:translateY(-1px);box-shadow:0 8px 19px rgba(255,105,0,.32);filter:saturate(1.08)}.card-promo:active{transform:translateY(0)}
.card-promo-code{display:flex;align-items:center;justify-content:center;min-width:0;padding:0 7px;font-size:10px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.015em}.promo-cut{position:relative;display:grid;place-items:center;border-left:1px dashed rgba(255,255,255,.74);font-size:14px}.promo-cut:before,.promo-cut:after{content:"";position:absolute;left:-5px;width:9px;height:9px;border-radius:50%;background:#fff}.promo-cut:before{top:-5px}.promo-cut:after{bottom:-5px}.promo-action.copied{background:#30aa6b!important}.compact-action{flex:1;margin:0;padding:10px 8px;white-space:nowrap;font-size:9px}
.secondary-action{display:block;text-align:center;border:1px solid var(--line);background:#fff;padding:11px 13px;border-radius:11px;font-size:10px;font-weight:850;transition:background .15s,border-color .15s,transform .15s}.secondary-action:hover{background:#f6f7f8;border-color:#cfd3d9;transform:translateY(-1px)}
.offer-card.is-expired{opacity:.77}.expired-label{color:#a1535d;font-weight:900}.expired-grid .offer-card{filter:saturate(.75)}.expired-section{padding-bottom:45px}
.feed-sentinel{display:flex;justify-content:center;align-items:center;gap:12px;margin:20px 0 0;color:#8b919a;font-size:10px}.feed-sentinel button{border:1px solid #dfe2e7;background:#fff;border-radius:11px;padding:9px 16px;font-size:10px;font-weight:800;cursor:pointer}.feed-sentinel button:hover{border-color:#c9cdd3;background:#fafafa}.feed-sentinel.loading button{opacity:.6}.feed-sentinel.error{color:#b1444f}
.empty-state{grid-column:1/-1;padding:40px 24px;text-align:center;background:#fff;border:1px dashed #c9ced5;border-radius:16px;color:#7b818b;font-size:12px}

/* Brands */
.brands-controls .crumbs{margin-bottom:12px}.brands-page .brand-category-scroll{flex-wrap:wrap;overflow:visible;max-width:100%}
.brand-search-wrap{display:flex;align-items:center;gap:16px;margin-top:12px}.brand-search-box{position:relative;flex:1;max-width:820px}.brand-search-box input{width:100%;height:42px;border:1px solid #dfe3e8;background:#fff;border-radius:11px;padding:0 42px;font-size:11px;outline:0;transition:border-color .16s,box-shadow .16s}.brand-search-box input:focus{border-color:#c0a400;box-shadow:0 0 0 3px rgba(255,201,0,.12)}.brand-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#84909d;font-size:18px}.brand-search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:none;width:27px;height:27px;border:0;border-radius:8px;background:#f1f3f5;color:#727985;cursor:pointer}.brand-search-clear.visible{display:block}.brand-search-status{margin-left:auto;color:#777e88;font-size:10px;font-weight:800;white-space:nowrap}
.brand-directory-section{padding-top:30px}.brand-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.brand-tile{min-width:0;min-height:92px;background:#fff;border:1px solid #e1e4e8;border-radius:15px;padding:12px;display:grid;grid-template-columns:62px minmax(0,1fr) 18px;align-items:center;gap:12px;box-shadow:0 4px 15px rgba(20,26,35,.035);transition:transform .17s,box-shadow .17s,border-color .17s}.brand-tile:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(19,25,34,.09);border-color:#d2d6dc}.brand-logo{width:62px;height:62px;border:1px solid #e6e8ec;border-radius:12px;background:#f7f8fa;display:grid;place-items:center;overflow:hidden}.brand-logo img{max-width:84%;max-height:72%;object-fit:contain}.brand-logo span{font-family:"Unbounded",sans-serif;font-size:20px;font-weight:800;color:#8d949e}.brand-tile-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.brand-tile-copy strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-tile-copy small{color:#818793;font-size:9px;line-height:1.35}.brand-tile-arrow{font-size:24px;color:#75808d;transition:transform .17s,color .17s}.brand-tile:hover .brand-tile-arrow{transform:translateX(3px);color:#111}.brand-search-empty{grid-column:1/-1}

/* Brand page */
.brand-head-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:22px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow-soft)}.brand-page-logo{width:120px;height:120px;border-radius:16px;border:1px solid #e4e7eb;background:#f8f9fb;display:grid;place-items:center;overflow:hidden}.brand-page-logo img{max-width:82%;max-height:72%;object-fit:contain}.brand-page-logo span{font-family:"Unbounded",sans-serif;font-size:34px;color:#9299a3}.brand-head-copy h1{font-family:"Unbounded",sans-serif;font-size:29px;letter-spacing:-.045em;margin:6px 0}.brand-head-copy>p{margin:0;color:#777f8a;font-size:11px}.brand-description{margin-top:10px;color:#545b65;line-height:1.6;font-size:12px}.brand-sort{margin:18px 0 14px}.brand-empty{background:#fff;border:1px solid var(--line);border-radius:18px;padding:42px;text-align:center}.brand-empty-icon{font-family:"Unbounded",sans-serif;font-size:50px;color:var(--yellow)}.brand-empty h2{font-size:22px}.brand-empty p{color:#747b86}.inline-action{display:inline-block;margin-top:10px}

/* Category/catalog */
.market-category-page .sort-row,.category-page .sort-row{margin:18px 0 14px}.archive-head{margin-top:42px}
.catalog-children{margin:16px 0 20px}.catalog-children h2{font-size:17px;margin:0 0 10px}.catalog-child-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.catalog-child-grid a,.catalog-root-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px;display:flex;flex-direction:column;gap:5px;transition:transform .16s,border-color .16s,box-shadow .16s}.catalog-child-grid a:hover,.catalog-root-card:hover{transform:translateY(-2px);border-color:#d1d5db;box-shadow:var(--shadow-soft)}.catalog-child-grid strong,.catalog-root-card strong{font-size:12px}.catalog-child-grid span,.catalog-root-card span,.catalog-root-card small{font-size:9px;color:#7b828d}.catalog-directory{padding-top:4px}.catalog-root-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}

/* Offer detail */
.product-page{padding-bottom:75px}.offer-layout{padding-top:18px}.expired-banner{display:flex;justify-content:space-between;align-items:center;background:#fff5df;border:1px solid #ffd47f;border-radius:14px;padding:14px 17px;margin-bottom:14px}.expired-banner div{display:flex;flex-direction:column;gap:3px}.expired-banner div span{font-size:10px;color:#765f3e}
.product-card{display:grid;grid-template-columns:minmax(420px,.95fr) minmax(0,1.25fr);gap:30px;background:#fff;border:1px solid #e1e4e8;border-radius:20px;padding:20px;box-shadow:var(--shadow-soft)}
.product-visual{position:relative;min-width:0;aspect-ratio:1/1;background:#f9fafb;border-radius:16px;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-visual img{width:100%;height:100%;object-fit:contain;padding:0;background:#fff}.product-top-badge{position:absolute;left:12px;bottom:12px;background:var(--yellow);border-radius:9px;padding:7px 10px;font-size:10px;font-weight:900;box-shadow:0 6px 14px rgba(0,0,0,.12)}
.product-info{min-width:0;padding:8px 8px 6px 0;display:flex;flex-direction:column;align-items:flex-start}.product-kicker-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.product-brand-row{color:#7f858f;font-size:10px;font-weight:700}.product-brand-row a{color:#5148bb;font-weight:900;border-bottom:1px dashed #8f89cc}.product-info h1{font-family:"Unbounded","Manrope",sans-serif;font-size:28px;line-height:1.12;letter-spacing:-.045em;margin:12px 0 11px;overflow-wrap:anywhere}.product-date-row{display:flex;align-items:center;gap:9px;font-size:9px;color:#8f959f;white-space:nowrap}.product-date-row .valid-until{font-size:8px}.product-discount-badges{display:flex;gap:6px;flex-wrap:wrap;margin:13px 0 11px}.product-discount-badges .discount-badge,.product-discount-badges .rub-badge{font-size:12px;padding:7px 10px}.product-price{display:flex;gap:10px;align-items:baseline}.product-price strong{font-size:36px;line-height:1;letter-spacing:-.055em}.product-price s{font-size:13px;color:#999fa8}.product-info .saving.big{margin-top:6px}.product-rating-row{display:flex;align-items:center;gap:12px;margin-top:16px}.rating-caption{font-size:9px;color:#757c87;font-weight:800}.product-rating{height:40px;grid-template-columns:33px auto 8px 33px}.product-rating .vote-btn{width:33px;height:38px}
.product-promo{width:min(100%,445px);height:67px;margin-top:17px;padding:0;background:#fff;border:1px solid #dfe3e7;border-radius:12px;display:grid;grid-template-columns:minmax(125px,1fr) minmax(130px,1fr) 60px;align-items:stretch;overflow:visible;cursor:pointer;text-align:left;box-shadow:0 7px 18px rgba(18,24,33,.05);transition:transform .16s,border-color .16s,box-shadow .16s}.product-promo:hover{transform:translateY(-2px);border-color:#d2b000;box-shadow:0 12px 24px rgba(255,183,0,.14)}.product-promo-code{display:flex;flex-direction:column;justify-content:center;padding:0 16px;min-width:0}.product-promo-code small{font-size:8px;font-weight:900;letter-spacing:.12em}.product-promo-code b{font-size:18px;letter-spacing:.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-promo .promo-action-cta{display:grid;place-items:center;background:linear-gradient(180deg,#ffd428,#ffc300);color:#121212;font-size:10px;font-weight:900;text-align:center;padding:0 10px;border-radius:10px;margin:8px 0}.product-promo-ticket{position:relative;display:grid;place-items:center;border-left:1px dashed #d5d8dd;color:#e2ad00;font-family:"Unbounded",sans-serif;font-size:24px}.product-promo-ticket:before,.product-promo-ticket:after{content:"";position:absolute;left:-7px;width:13px;height:13px;border-radius:50%;background:var(--bg);border-right:1px solid #dfe3e7}.product-promo-ticket:before{top:-7px}.product-promo-ticket:after{bottom:-7px}.product-promo.copied .promo-action-cta{background:#78dba5}.action-note{max-width:520px;margin:7px 0 0;font-size:8.5px;color:#888f99;line-height:1.45}.expired-code{margin-top:18px;padding:13px;border-radius:11px;background:#f3f4f6;color:#777e87;font-weight:800}
.product-description-box{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:0 5px 16px rgba(18,24,33,.025)}.product-description-box h2{margin:5px 0 10px;font-family:"Unbounded",sans-serif;font-size:18px;letter-spacing:-.03em}.product-description-box p{margin:0;color:#4d555f;font-size:11px;line-height:1.75;white-space:pre-line}.description-placeholder{border:1px dashed #d6dae0;background:#f8f9fa;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:4px;color:#7c838d;font-size:10px}.description-placeholder b{color:#555c66}.similar-section{margin-top:32px}

/* SEO / shared blocks */
.seo-box{margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.seo-toggle{width:100%;border:0;background:#fff;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:850;cursor:pointer}.seo-toggle:hover{background:#fafafa}.seo-content{max-height:0;overflow:hidden;transition:max-height .25s ease}.seo-content.open{max-height:900px}.seo-content p{padding:0 17px 17px;margin:0;color:#5d646e;font-size:11px;line-height:1.75}
.site-footer{background:#0e1114;color:#9aa1aa;border-top:1px solid #24282d;margin-top:0}.site-footer .container{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px}.site-footer b{color:#fff}.toast{position:fixed;left:50%;bottom:28px;z-index:99;transform:translate(-50%,16px);opacity:0;background:#14171b;color:#fff;border-radius:11px;padding:11px 16px;font-size:11px;font-weight:800;box-shadow:0 12px 28px rgba(0,0,0,.24);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}

/* Legacy hero safety: should not be used by redesigned public templates */
.hero{background:#101216;color:#fff}.hero .container{padding:34px 0}.hero h1{font-family:"Unbounded",sans-serif}.hero-ticket{display:none}

@media(max-width:1380px){
  .hero-shell-inner{grid-template-columns:minmax(350px,1fr) 360px 290px}.brand-word{font-size:38px}.brand-mark{width:82px;height:82px;flex-basis:82px}.hero-art-frame{height:300px}.hero-benefits>span{padding-inline:12px}
  .offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-child-grid,.catalog-root-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1120px){
  .container{width:min(100% - 28px,1500px)}.site-hero-shell,.hero-shell-inner{min-height:300px}.hero-shell-inner{grid-template-columns:minmax(360px,1fr) 300px;grid-template-rows:1fr auto}.hero-brand{grid-column:1}.hero-art-frame{grid-column:2;grid-row:1/3;height:270px}.hero-social-block{grid-column:1;grid-row:2;justify-self:start;align-items:flex-start;width:auto}.hero-social-block>b{display:none}.socials{gap:9px}.social-card{min-width:auto}.social-icon{width:43px;height:43px;border-radius:12px;font-size:14px}.social-card small{display:none}.hero-benefits{display:none}
  .catalog-layout{grid-template-columns:220px minmax(0,1fr);gap:16px}.offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{grid-template-columns:minmax(330px,.9fr) minmax(0,1.1fr);gap:20px}.product-info h1{font-size:23px}
}
@media(max-width:900px){
  .site-hero-shell,.hero-shell-inner{min-height:232px}.hero-shell-inner{grid-template-columns:1fr 230px}.hero-art-frame{height:210px}.brand-mark{width:62px;height:62px;flex-basis:62px}.brand-mark i{transform:scale(.72)}.brand-word{font-size:28px}.brand-slogan{font-size:14px;margin-top:9px}.hero-brand-copy>strong{font-size:16px}
  .catalog-layout{grid-template-columns:1fr}.catalog-sidebar{position:static}.catalog-sidebar-scroll{display:none}.catalog-sidebar-head{cursor:default}.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{grid-template-columns:1fr}.product-visual{aspect-ratio:1.15/1;max-height:560px}.brand-head-card{grid-template-columns:90px 1fr}.brand-page-logo{width:90px;height:90px}
  .site-hero-shell.is-compact .hero-shell-inner{grid-template-columns:1fr auto}.site-hero-shell.is-compact .hero-benefits{display:none}
}
@media(max-width:620px){
  .container{width:min(100% - 18px,1500px)}.site-hero-shell,.hero-shell-inner{min-height:194px}.hero-shell-inner{grid-template-columns:1fr;padding-block:16px}.hero-art-frame{display:none}.hero-brand{grid-column:1;grid-row:1;gap:12px}.brand-mark{width:52px;height:52px;flex-basis:52px}.brand-mark i{transform:scale(.58)}.brand-word{font-size:23px}.brand-slogan{font-size:12px;margin-top:6px}.hero-brand-copy>strong{font-size:13px}.hero-social-block{grid-column:1;grid-row:2;margin-top:6px}.social-icon{width:39px;height:39px}.site-hero-shell.is-compact,.site-hero-shell.is-compact .hero-shell-inner{min-height:162px}.site-hero-shell.is-compact .hero-shell-inner{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto}.site-hero-shell.is-compact .hero-social-block{grid-column:1;grid-row:2;justify-self:start}.site-hero-shell.is-compact .brand-word{font-size:23px}
  .catalog-layout{padding-top:12px}.controls{padding:11px}.offer-grid{grid-template-columns:1fr}.offer-image{aspect-ratio:4/3}.section-head{align-items:flex-start;flex-direction:column}.section-head h2{font-size:21px}.category-page>h1,.market-category-page>h1{font-size:27px}.brand-grid{grid-template-columns:1fr}.brand-search-wrap{align-items:stretch;flex-direction:column;gap:8px}.brand-search-status{margin-left:0}.catalog-child-grid,.catalog-root-grid{grid-template-columns:1fr}.product-card{padding:12px}.product-info{padding:5px}.product-info h1{font-size:21px}.product-price strong{font-size:31px}.product-date-row{flex-wrap:wrap;white-space:normal}.product-promo{height:auto;min-height:64px;grid-template-columns:1fr 1fr 48px}.product-promo-code{padding:0 10px}.product-promo-code b{font-size:14px}.product-promo .promo-action-cta{font-size:9px}.product-rating-row{align-items:flex-start;flex-direction:column;gap:6px}.brand-head-card{grid-template-columns:1fr}.brand-page-logo{width:100%;height:100px}.site-footer .container{padding:20px 0;flex-direction:column;align-items:flex-start}.offer-actions{gap:6px}.card-promo{max-width:none}
}


/* v0.1.13 — final visual refinements */
body,button,input,textarea,select{
  font-family:"TT Interphases Pro","TT Interphases","Inter","Segoe UI Variable","Segoe UI",Arial,sans-serif;
}
.brand-word,
.category-page>h1,
.market-category-page>h1,
.section-head h2,
.product-info h1,
.product-description-box h2,
.brand-logo span,
.product-promo-ticket,
.hero-brand-copy>strong,
.hero-brand-copy .brand-slogan{
  font-family:"TT Interphases Pro","TT Interphases","Inter","Segoe UI Variable","Segoe UI",Arial,sans-serif !important;
}
.brand-word,
.category-page>h1,
.market-category-page>h1,
.section-head h2,
.product-info h1,
.product-description-box h2{
  letter-spacing:-.045em;
}

/* Home banner: single-piece artwork with live social links */
.home-banner-wrap{padding:16px 0 0}
.home-banner{position:relative;border-radius:26px;overflow:hidden;background:#040506;box-shadow:0 24px 60px rgba(10,14,18,.18);border:1px solid rgba(255,201,0,.18)}
.home-banner-art{display:block;width:100%;aspect-ratio:911/364;background:#050505 url('/static/pricehack-home-banner.jpg') center center/contain no-repeat}
.home-banner-social-block{position:absolute;right:26px;top:24px;display:flex;flex-direction:column;align-items:flex-end;gap:12px;z-index:3}
.home-banner-social-block>b{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(10,14,18,.64);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(12px);color:#fff;font-size:13px;font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.home-socials{gap:10px}
.home-socials .social-card{padding:10px 12px;border-radius:20px;background:rgba(10,14,18,.52);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(12px);box-shadow:0 14px 26px rgba(0,0,0,.22);min-width:92px}
.home-socials .social-card:hover{transform:translateY(-4px) scale(1.01)}
.home-socials .social-card small{color:#fff;opacity:.92}
.home-layout{padding-top:18px}
.home-controls{margin-top:4px}

/* Offer cards closer to marketplace proportions */
.offer-grid,
.catalog-layout .offer-grid{grid-template-columns:repeat(auto-fill,minmax(214px,1fr));gap:12px;align-items:stretch}
.offer-card{display:flex;flex-direction:column;min-width:0;height:100%}
.offer-image{aspect-ratio:4/3;background:#fff}
.offer-image img{width:100%;height:100%;object-fit:contain;object-position:center;padding:0}
.offer-body{display:flex;flex-direction:column;min-width:0;flex:1;padding:12px}
.offer-meta{min-width:0;font-size:10px;line-height:1.3;margin-bottom:8px}
.offer-meta>span{display:flex;flex-wrap:wrap;gap:4px;min-width:0;overflow:hidden}
.offer-title{min-height:51px;max-width:100%;font-size:13px;line-height:1.32;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;word-break:break-word}
.offer-date-line{gap:6px;font-size:9px;line-height:1.3}
.offer-date-line>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.price-row strong{font-size:18px;line-height:1.05}
.price-row s{font-size:11px}
.saving{font-size:10px;line-height:1.35}
.offer-actions{margin-top:auto;align-items:center}
.card-promo{max-width:154px;height:34px;grid-template-columns:minmax(0,1fr) 32px;border-radius:9px}
.card-promo-code{padding:0 6px;font-size:9px}
.promo-cut{font-size:12px}
.compact-action{padding:8px 7px;font-size:8px}

/* Compact thermometer */
.thermometer-rating,
.product-rating{display:grid;grid-template-columns:27px auto 27px;align-items:center;height:32px;border:1px solid #e0e4e9;background:#fff;border-radius:10px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.82)}
.product-rating{height:34px}
.vote-btn{width:27px;height:30px}
.product-rating .vote-btn{width:27px;height:32px}
.vote-arrow{font-size:17px}
.rating-display{display:inline-flex;align-items:flex-start;justify-content:center;gap:1px;min-width:0;line-height:1}
.rating-score{min-width:auto;text-align:center;font-size:12px;font-weight:900;color:#ff513f}
.product-rating .rating-score{font-size:13px}
.rating-degree{font-size:9px;line-height:1;color:#ff513f;transform:translateY(1px)}
.rating-score.negative{color:#2384ff}
.rating-display.negative .rating-degree{color:#2384ff}
.rating-display.positive .rating-degree{color:#ff513f}

/* Keep product page consistent */
.product-info h1{font-size:27px}
.product-date-row{font-size:10px}
.product-promo{width:min(100%,420px)}
.product-description-box p{font-size:12px}

@media(max-width:1380px){
  .offer-grid,
  .catalog-layout .offer-grid{grid-template-columns:repeat(auto-fill,minmax(206px,1fr))}
}
@media(max-width:1120px){
  .home-banner-social-block{right:18px;top:18px}
  .home-socials .social-card{min-width:74px;padding:9px 10px}
  .home-socials .social-icon{width:46px;height:46px;border-radius:14px}
  .home-socials .social-card small{display:none}
}
@media(max-width:900px){
  .home-banner{border-radius:22px}
  .home-banner-social-block{position:static;align-items:flex-start;padding:0 16px 16px}
  .home-banner-social-block>b{margin-top:-6px}
  .home-socials{flex-wrap:wrap}
  .offer-grid,
  .catalog-layout .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .home-banner-wrap{padding-top:10px}
  .home-banner{border-radius:18px}
  .home-banner-art{aspect-ratio:911/420}
  .home-banner-social-block{padding:10px 12px 14px}
  .home-banner-social-block>b{font-size:11px;padding:8px 10px}
  .home-socials .social-card{min-width:auto;padding:7px 8px;border-radius:15px}
  .home-socials .social-icon{width:40px;height:40px;border-radius:12px}
  .offer-grid,
  .catalog-layout .offer-grid{grid-template-columns:1fr}
  .offer-title{font-size:14px}
  .price-row strong{font-size:20px}
}

/* v0.1.14 R4 — unified compact header, global navigation and real TT Interphases Pro */
@font-face{font-family:"Pricehack Interphases";src:url('/static/fonts/TTInterphasesPro-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:optional}
@font-face{font-family:"Pricehack Interphases";src:url('/static/fonts/TTInterphasesPro-Medium.ttf') format('truetype');font-style:normal;font-weight:500;font-display:optional}
@font-face{font-family:"Pricehack Interphases";src:url('/static/fonts/TTInterphasesPro-DemiBold.ttf') format('truetype');font-style:normal;font-weight:600;font-display:optional}
@font-face{font-family:"Pricehack Interphases";src:url('/static/fonts/TTInterphasesPro-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:optional}
@font-face{font-family:"Pricehack Interphases";src:url('/static/fonts/TTInterphasesPro-ExtraBold.ttf') format('truetype');font-style:normal;font-weight:800;font-display:optional}
@font-face{font-family:"Pricehack Interphases";src:url('/static/fonts/TTInterphasesPro-Black.ttf') format('truetype');font-style:normal;font-weight:900;font-display:optional}
html,body,button,input,textarea,select{font-family:"Pricehack Interphases","TT Interphases Pro","Inter","Segoe UI",Arial,sans-serif}
body{font-size:14px}
.brand-word,.category-page>h1,.market-category-page>h1,.section-head h2,.product-info h1,.product-description-box h2,.brand-logo span,.product-promo-ticket{font-family:"Pricehack Interphases","TT Interphases Pro","Inter","Segoe UI",Arial,sans-serif!important}

/* One identical high-quality header on every public page */
.unified-header{padding:10px 0 0;background:#f4f5f7;position:relative;z-index:30}
.unified-header>.container{position:relative}
.unified-header-banner{display:block;width:100%;border-radius:22px;overflow:hidden;background:#050607;box-shadow:0 14px 38px rgba(18,24,33,.12);border:1px solid rgba(255,194,0,.18)}
.unified-header-banner img{display:block;width:100%;height:auto;max-height:none;image-rendering:auto}
.banner-social-hotspots{position:absolute;inset:0;pointer-events:none}
.banner-hotspot{position:absolute;z-index:4;pointer-events:auto;border-radius:12px;transition:box-shadow .18s ease,transform .18s ease,background .18s ease}
.banner-hotspot.vk{left:83.55%;top:51%;width:4.25%;height:25%}
.banner-hotspot.max{left:88.15%;top:51%;width:4.25%;height:25%}
.banner-hotspot.tg{left:92.78%;top:51%;width:4.25%;height:25%}
.banner-hotspot:hover{transform:translateY(-2px) scale(1.04)}
.banner-hotspot.vk:hover{box-shadow:0 0 0 2px rgba(73,159,255,.7),0 0 24px #2787f5;background:rgba(39,135,245,.08)}
.banner-hotspot.max:hover{box-shadow:0 0 0 2px rgba(204,90,255,.7),0 0 24px #a74fff;background:rgba(166,79,255,.08)}
.banner-hotspot.tg:hover{box-shadow:0 0 0 2px rgba(68,195,255,.7),0 0 24px #229ed9;background:rgba(34,158,217,.08)}

/* Global navigation is always visible; search hidden only on /promo/* */
.global-nav-wrap{position:relative;z-index:25;padding:10px 0 0}
.global-nav-panel{background:#fff;border:1px solid #e1e4e8;border-radius:18px;box-shadow:0 10px 28px rgba(18,24,33,.065);padding:11px 12px 10px}
.global-nav-main{display:grid;grid-template-columns:auto minmax(320px,1fr);gap:18px;align-items:center}
.global-tabs{display:flex;align-items:center;gap:6px;min-width:max-content}
.global-tab{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 17px;border-radius:11px;font-size:13px;font-weight:800;color:#30343a;border:1px solid transparent;transition:.16s}
.global-tab:hover{background:#f4f5f7;border-color:#e0e3e8;transform:translateY(-1px)}
.global-tab.active{background:#111418;color:#fff;border-color:#111418;box-shadow:inset 0 -3px 0 #ffc900}
.global-tab-static{color:#444a53}
.smart-search{position:relative;min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;background:#f7f8fa;border:1px solid #dfe3e8;border-radius:12px;height:42px;transition:border-color .16s,box-shadow .16s,background .16s}
.smart-search:focus-within{background:#fff;border-color:#c4a200;box-shadow:0 0 0 3px rgba(255,201,0,.13)}
.smart-search-icon{display:grid;place-items:center;color:#8b929d;font-size:17px}
.smart-search input{min-width:0;width:100%;height:40px;border:0;background:transparent;outline:0;font-size:12px;padding:0 8px;color:#17191e}
.smart-search button{height:32px;margin-right:5px;border:0;border-radius:9px;background:#ffc900;color:#161616;padding:0 13px;font-size:11px;font-weight:900;cursor:pointer;transition:.15s}
.smart-search button:hover{background:#ffb800;transform:translateY(-1px)}
.smart-search-dropdown{position:absolute;left:0;right:0;top:47px;z-index:80;background:#fff;border:1px solid #dde1e6;border-radius:13px;box-shadow:0 18px 44px rgba(18,24,33,.16);padding:6px;max-height:360px;overflow:auto}
.smart-search-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center;padding:8px;border-radius:9px}
.smart-search-item:hover,.smart-search-item.active{background:#f3f5f7}
.smart-search-type{width:36px;height:36px;border-radius:9px;background:#111418;color:#ffc900;display:grid;place-items:center;font-size:9px;font-weight:900;text-transform:uppercase}
.smart-search-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.smart-search-copy b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smart-search-copy small{font-size:9px;color:#818893;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smart-search-empty{padding:12px;color:#777f8b;font-size:11px;text-align:center}
.global-picks{display:flex;gap:6px;align-items:center;overflow-x:auto;scrollbar-width:none;border-top:1px solid #eceef1;margin-top:10px;padding-top:10px}.global-picks::-webkit-scrollbar{display:none}
.pick-chip{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid #e2e5e9;border-radius:10px;background:#fff;color:#30343b;font-size:11px;font-weight:750;transition:.15s}
.pick-chip:hover{border-color:#c8ccd2;background:#f7f8fa;transform:translateY(-1px)}.pick-chip.active{background:#111418;border-color:#111418;color:#fff}

/* Larger pill breadcrumbs */
.crumbs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:2px 0 20px;font-size:12px;color:#505762}
.crumbs>a,.crumbs>span:not(.crumb-sep){display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border:1px solid #dfe3e8;border-radius:11px;background:#fff;font-weight:700;box-shadow:0 2px 7px rgba(18,24,33,.025)}
.crumbs>a:hover{border-color:#c5a600;background:#fffdf4;text-decoration:none;color:#111}
.crumbs>span:not(.crumb-sep){background:#f2f4f6;color:#5d6570;max-width:min(560px,100%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crumb-sep{display:inline-grid!important;place-items:center!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#a0a6af!important;font-size:18px!important;font-weight:500!important}

/* Main page density */
.catalog-layout{padding-top:18px}
.compact-controls{padding:10px 12px}.compact-controls .mechanic-switch{margin-top:0}.compact-controls .sort-row{margin-top:8px}
.brands-controls{margin-top:0}

/* Marketplace-like compact cards: the image itself always spans card width, never cropped */
.offer-grid,.catalog-layout .offer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;align-items:stretch}
.offer-card{min-width:0;width:100%;max-width:100%;height:100%;overflow:hidden;border-radius:15px}
.offer-image{position:relative;display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;background:#fff;overflow:hidden;padding:0!important}
.offer-image img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;background:#fff!important;transform:none!important}
.offer-card:hover .offer-image img{transform:none!important}
.offer-badges{left:9px!important;right:auto!important;bottom:9px!important;top:auto!important;max-width:calc(100% - 18px)!important;overflow:hidden}
.offer-body{width:100%;max-width:100%;min-width:0;padding:11px 11px 10px;overflow:hidden}
.offer-meta,.offer-meta>span,.offer-title,.offer-date-line,.price-row,.saving,.offer-actions{width:100%;max-width:100%;min-width:0}
.offer-meta{overflow:hidden}.offer-meta>span{display:flex;gap:4px;flex-wrap:nowrap;overflow:hidden}.offer-meta a,.offer-meta .card-brand{min-width:0;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offer-title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden!important;overflow-wrap:anywhere;word-break:normal;min-height:51px;max-height:51px;font-size:12.5px;line-height:1.36}
.offer-date-line{display:flex;align-items:center;gap:5px;overflow:hidden}.offer-date-line>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.offer-date-line .valid-until{flex:0 0 auto;max-width:50%}
.price-row{overflow:hidden}.price-row strong{font-size:18px;white-space:nowrap}.price-row s{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saving{font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offer-actions{gap:6px;overflow:hidden}.thermometer-rating{flex:0 0 79px}.card-promo{max-width:none;min-width:0;flex:1}.card-promo-code{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.no-image{width:100%;aspect-ratio:4/3;display:grid;place-items:center;background:#f4f5f7}

/* Search page */
.search-head{margin:2px 0 24px}.search-head h1{font-size:32px;letter-spacing:-.045em;margin:7px 0 7px}.search-head p{margin:0;color:#777f89;font-size:12px}.search-group{margin:26px 0}.search-link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.search-link-card{display:flex;flex-direction:column;gap:4px;padding:13px 14px;background:#fff;border:1px solid #e1e4e8;border-radius:13px;transition:.15s}.search-link-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(18,24,33,.07);border-color:#d0b000}.search-link-card b{font-size:12px}.search-link-card span{font-size:9px;color:#7e8590}

@media(max-width:1180px){
  .global-nav-main{grid-template-columns:1fr}.global-tabs{justify-content:flex-start}.smart-search{width:100%}
  .offer-grid,.catalog-layout .offer-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
}
@media(max-width:900px){
  .unified-header{padding-top:7px}.unified-header-banner{border-radius:16px}
  .global-nav-wrap{padding-top:7px}.global-nav-panel{border-radius:14px;padding:9px}.global-tab{padding:0 12px;min-height:37px;font-size:12px}
  .offer-grid,.catalog-layout .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .crumbs>a,.crumbs>span:not(.crumb-sep){min-height:33px;padding:0 10px}
}
@media(max-width:620px){
  .container{width:min(100% - 14px,1500px)}
  .unified-header-banner{overflow-x:auto}.unified-header-banner img{width:900px;max-width:none;height:auto}
  .banner-social-hotspots{display:none}
  .global-tabs{width:100%;overflow-x:auto;scrollbar-width:none}.global-tabs::-webkit-scrollbar{display:none}.global-tab{flex:0 0 auto}
  .smart-search{grid-template-columns:28px minmax(0,1fr) 54px}.smart-search button{padding:0 8px;font-size:9px}
  .offer-grid,.catalog-layout .offer-grid{grid-template-columns:1fr}
  .offer-title{font-size:13.5px;min-height:55px;max-height:55px}
  .search-head h1{font-size:26px}.search-link-grid{grid-template-columns:1fr}
}

/* v0.1.15 R5 — integrated dark header, font roles and aligned marketplace cards */
html,body,button,input,textarea,select{font-family:var(--font-body)!important}
h1,h2,h3,h4,h5,h6,.section-head h2,.category-page>h1,.market-category-page>h1,.product-info h1,.product-description-box h2,.search-head h1,.brand-head-card h1{font-family:var(--font-heading)!important}
.discount-badge,.rub-badge,.top-badge,.card-promo-code,.promo-cut,.product-promo-code,.product-promo-ticket,.product-promo .promo-action-cta{font-family:var(--font-accent)!important}

/* Header image + navigation are one dark visual block. */
.unified-header{padding:10px 0 0;background:var(--bg);position:relative;z-index:30}
.unified-header>.container{position:relative}
.unified-header-frame{position:relative;background:#07090c;border:1px solid rgba(255,196,0,.18);border-radius:22px;box-shadow:0 16px 42px rgba(10,14,18,.16)}
.unified-header-media{position:relative}
.unified-header-banner{display:block;width:100%;overflow:hidden;border:0;border-radius:21px 21px 0 0;background:#050607;box-shadow:none}
.unified-header-banner img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;image-rendering:auto}

/* Social hover: glow stays inside the icon area; no outline/frame and no movement. */
.banner-social-hotspots{position:absolute;inset:0;pointer-events:none}
.banner-hotspot{position:absolute;z-index:5;pointer-events:auto;border:0!important;outline:0!important;border-radius:15px;box-shadow:none!important;transform:none!important;transition:background .16s ease,filter .16s ease,opacity .16s ease}
.banner-hotspot.vk{left:83.35%;top:20%;width:4.55%;height:31%}
.banner-hotspot.max{left:89.02%;top:20%;width:4.55%;height:31%}
.banner-hotspot.tg{left:94.22%;top:20%;width:4.55%;height:31%}
.banner-hotspot:hover{transform:none!important;filter:brightness(1.18) saturate(1.14)}
.banner-hotspot.vk:hover{background:radial-gradient(circle at center,rgba(105,188,255,.48) 0,rgba(39,135,245,.23) 48%,rgba(39,135,245,0) 78%);box-shadow:inset 0 0 22px rgba(72,165,255,.74)!important}
.banner-hotspot.max:hover{background:radial-gradient(circle at center,rgba(222,116,255,.46) 0,rgba(161,70,255,.24) 48%,rgba(161,70,255,0) 78%);box-shadow:inset 0 0 22px rgba(185,83,255,.78)!important}
.banner-hotspot.tg:hover{background:radial-gradient(circle at center,rgba(116,220,255,.46) 0,rgba(34,158,217,.23) 48%,rgba(34,158,217,0) 78%);box-shadow:inset 0 0 22px rgba(55,187,245,.78)!important}

/* Navigation/search visually continues the banner. */
.global-nav-wrap{position:relative;z-index:25;padding:0!important;margin:0;background:transparent}
.global-nav-panel{background:linear-gradient(180deg,#0b0e12,#0a0d10);border:0;border-top:1px solid rgba(255,255,255,.09);border-radius:0 0 21px 21px;box-shadow:none;padding:10px 14px 12px;color:#eef1f4}
.global-nav-main{display:grid;grid-template-columns:auto minmax(320px,1fr);gap:22px;align-items:center}
.global-tabs{display:flex;align-items:center;gap:4px;min-width:max-content}
.global-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 17px;border:0;border-radius:9px;background:transparent;color:#e2e5e8;font-size:13px;font-weight:800;transition:background .15s,color .15s}
.global-tab:hover{background:#151a20;border:0;transform:none;color:#fff}
.global-tab.active{background:#151a20;color:#fff;border:0;box-shadow:none}
.global-tab.active:after{content:"";position:absolute;left:14px;right:14px;bottom:-10px;height:3px;border-radius:3px 3px 0 0;background:var(--yellow)}
.global-tab-static{color:#d7dade}
.smart-search{position:relative;min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;background:#20242a;border:1px solid #2c3138;border-radius:11px;height:41px;color:#fff;transition:border-color .16s,box-shadow .16s,background .16s}
.smart-search:focus-within{background:#252a31;border-color:#7f6a00;box-shadow:inset 0 0 0 1px rgba(255,201,0,.18),0 0 0 3px rgba(255,201,0,.08)}
.smart-search-icon{color:#b5bbc3;font-size:18px}
.smart-search input{height:39px;color:#f4f5f6;font-size:12px}.smart-search input::placeholder{color:#989fa8}
.smart-search button{height:31px;margin-right:5px;border:0;border-radius:8px;background:#ffc900;color:#111;padding:0 14px;font-size:10px;font-weight:900}.smart-search button:hover{background:#ffd52f;transform:none}
.smart-search-dropdown{top:46px;background:#15191e;border-color:#30363e;color:#fff;box-shadow:0 18px 44px rgba(0,0,0,.34)}
.smart-search-item:hover,.smart-search-item.active{background:#22272e}.smart-search-type{background:#050607;color:#ffc900}.smart-search-copy small{color:#9ba2ab}
.global-picks{display:flex;gap:6px;align-items:center;overflow-x:auto;scrollbar-width:none;border-top:1px solid rgba(255,255,255,.08);margin-top:10px;padding-top:10px}.global-picks::-webkit-scrollbar{display:none}
.pick-chip{border:1px solid #30363d;background:#15191e;color:#d9dde1;min-height:32px;padding:0 12px;border-radius:9px;font-size:10.5px;font-weight:750}.pick-chip:hover{border-color:#545b64;background:#20252b;transform:none;color:#fff}.pick-chip.active{background:#ffc900;border-color:#ffc900;color:#111}

/* Savings in rubles are green. */
.rub-badge{background:#08a85c!important;color:#fff!important}

/* Every preview card has the same vertical geometry. Image is full card width and never cropped. */
.offer-grid,.catalog-layout .offer-grid{align-items:stretch}
.offer-card{display:flex;flex-direction:column;height:100%;min-width:0}
.offer-image{position:relative;display:flex!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;align-items:center;justify-content:center;background:#fff;overflow:hidden;padding:0!important}
.offer-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;background:#fff!important;transform:none!important}
.no-image{width:100%!important;height:100%!important;aspect-ratio:auto!important}
.offer-body{display:flex;flex-direction:column;flex:1;width:100%;min-width:0;padding:11px 11px 10px;overflow:hidden}
.offer-meta{height:17px;min-height:17px;margin:0 0 7px;overflow:hidden}
.offer-title{height:52px!important;min-height:52px!important;max-height:52px!important;margin:0;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden!important;font-size:12.5px;line-height:1.38}
.offer-date-line{height:20px!important;min-height:20px!important;margin-top:7px;overflow:hidden}
.price-row{height:28px!important;min-height:28px!important;margin-top:8px;overflow:hidden;align-items:center}
.saving{height:17px!important;min-height:17px!important;margin-top:2px;line-height:17px}.saving.is-empty{visibility:hidden}
.offer-actions{height:36px!important;min-height:36px!important;margin-top:8px!important;padding-top:0!important;align-items:center;overflow:hidden}
.thermometer-rating{height:34px;flex:0 0 79px}.vote-btn{height:32px}.card-promo,.secondary-action.compact-action{height:34px!important;min-height:34px!important;margin:0!important}

@media(max-width:1180px){
  .global-nav-main{grid-template-columns:1fr;gap:8px}.global-tab.active:after{bottom:-7px}.smart-search{width:100%}
}
@media(max-width:900px){
  .unified-header{padding-top:7px}.unified-header-frame{border-radius:16px}.unified-header-banner{border-radius:15px 15px 0 0}.global-nav-panel{border-radius:0 0 15px 15px;padding:9px}
  .banner-hotspot{border-radius:10px}
}
@media(max-width:620px){
  .unified-header-banner{overflow:hidden!important}.unified-header-banner img{width:100%!important;max-width:100%!important;height:auto!important}
  .banner-social-hotspots{display:none}
  .global-tabs{width:100%;overflow-x:auto;scrollbar-width:none}.global-tabs::-webkit-scrollbar{display:none}.global-tab{flex:0 0 auto}
  .global-tab.active:after{bottom:-7px}
  .smart-search{grid-template-columns:29px minmax(0,1fr) 52px}.smart-search button{padding:0 7px;font-size:9px}
}


/* v0.1.16 R6 — custom banner, social controls, aligned cards */
.unified-header-banner img{width:100%;height:auto;max-height:none;display:block;object-fit:cover;object-position:center}
.banner-social-buttons{position:absolute;inset:0;pointer-events:none}
.banner-social-button{position:absolute;top:50%;transform:translateY(-50%);pointer-events:auto;display:grid;place-items:center;text-decoration:none;background:rgba(13,17,24,.24);backdrop-filter:blur(4px);border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);border-radius:18px;overflow:hidden;transition:box-shadow .18s ease,background .18s ease,filter .18s ease}
.banner-social-button img,.banner-social-button span{display:block;width:100%;height:100%;object-fit:contain}
.banner-social-button span{display:grid;place-items:center;color:#fff;font-family:var(--font-accent);font-weight:900;letter-spacing:-.03em;padding:0 10px;font-size:15px}
.banner-social-button.vk{right:130px;width:var(--social-vk-size);height:var(--social-vk-size)}
.banner-social-button.max{right:72px;width:var(--social-max-size);height:var(--social-max-size)}
.banner-social-button.tg{right:14px;width:var(--social-tg-size);height:var(--social-tg-size)}
.banner-social-button.vk.hover-enabled:hover{background:rgba(39,135,245,.18);box-shadow:inset 0 0 24px color-mix(in srgb,var(--social-vk-glow) 62%, white 6%),0 0 18px color-mix(in srgb,var(--social-vk-glow) 55%, transparent)}
.banner-social-button.max.hover-enabled:hover{background:rgba(139,92,246,.18);box-shadow:inset 0 0 24px color-mix(in srgb,var(--social-max-glow) 62%, white 6%),0 0 18px color-mix(in srgb,var(--social-max-glow) 55%, transparent)}
.banner-social-button.tg.hover-enabled:hover{background:rgba(42,171,238,.18);box-shadow:inset 0 0 24px color-mix(in srgb,var(--social-tg-glow) 62%, white 6%),0 0 18px color-mix(in srgb,var(--social-tg-glow) 55%, transparent)}
.banner-social-button:not(.hover-enabled):hover{background:rgba(13,17,24,.24);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}

.global-tabs{gap:10px}
.global-tab{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.02);border-radius:14px;padding:0 18px}
.global-tab:hover{background:rgba(255,255,255,.05);border-color:rgba(255,204,0,.28)}
.global-tab.active{border-color:rgba(255,204,0,.45);box-shadow:inset 0 0 0 1px rgba(255,204,0,.16)}
.global-tab:after{display:none}

.offer-card{padding:11px 11px 10px;border-radius:17px}
.offer-image{width:100%!important;aspect-ratio:4/3!important;height:auto!important;display:flex!important;align-items:center;justify-content:center;background:#fff;border:1px solid #ebeef2;border-radius:13px;overflow:hidden;margin:0 0 10px;padding:0!important}
.offer-image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;display:block!important;object-fit:contain!important;object-position:center!important;background:#fff!important;padding:0!important;margin:0!important}
.offer-body{padding:0!important;width:100%;max-width:100%;min-width:0}
.offer-meta{height:16px;min-height:16px;margin-bottom:7px;overflow:hidden}
.offer-meta,.offer-meta>span,.offer-title,.offer-date-line,.price-row,.saving,.offer-actions{width:100%;min-width:0;max-width:100%}
.offer-title{height:52px!important;min-height:52px!important;max-height:52px!important;font-size:12.5px;line-height:1.38;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:break-word}
.offer-date-line{height:20px!important;min-height:20px!important;margin-top:6px;display:flex;gap:5px;align-items:center;overflow:hidden}
.offer-date-line>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.offer-date-line .valid-until{max-width:52%;flex:0 0 auto}
.price-row{height:28px!important;min-height:28px!important;margin-top:8px;display:flex;align-items:baseline;gap:7px;overflow:hidden}
.price-row strong{font-size:19px;line-height:1;white-space:nowrap}
.price-row s{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saving{height:17px!important;min-height:17px!important;line-height:17px;font-size:9.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saving.is-empty{visibility:hidden}
.offer-actions{height:36px!important;min-height:36px!important;margin-top:9px!important;padding-top:0!important;display:flex;align-items:center;gap:6px;overflow:hidden}
.card-promo{height:36px}
.offer-badges{left:8px;bottom:8px;right:auto;display:flex;flex-wrap:wrap;gap:4px;align-items:flex-end}
.discount-badge,.rub-badge,.top-badge{padding:5px 8px;font-size:10px;border-radius:8px}
.rub-badge{background:#08a85c!important;color:#fff!important}

.sort-row>span:first-child,.top-hint{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:12px;background:#fff8da;border:1px solid #f3e3a2;color:#3b3216;font-size:11px;font-weight:800}
.top-inline-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:4px 7px;background:var(--yellow);color:#111;font-size:10px;font-weight:950;line-height:1;box-shadow:0 4px 10px rgba(0,0,0,.08)}

@media(max-width:700px){
  .banner-social-button{display:none}
}


/* v0.1.17 R7 — minimal fixes only */
body{font-size:var(--font-body-size)}
.section-head h2,.category-page>h1,.market-category-page>h1,.brand-head-copy h1,.product-info h1,.brand-word{font-size:var(--font-heading-size)}
.discount-badge,.rub-badge,.top-badge,.product-promo-code,.card-promo-code,.product-promo-ticket,.compact-action{font-size:var(--font-accent-size);font-family:var(--font-accent)}
.hero{display:none!important}
.section-head .eyebrow.dark{display:none!important}
.offer-grid,.catalog-layout .offer-grid{grid-template-columns:repeat(auto-fill,minmax(248px,1fr))!important;gap:14px!important;align-items:stretch}
.offer-card{padding:0!important;border-radius:16px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;max-width:100%!important;height:100%!important}
.offer-image{position:relative!important;display:block!important;width:100%!important;aspect-ratio:4/3!important;height:auto!important;background:#fff!important;overflow:hidden!important;padding:0!important;border-radius:0!important;margin:0!important}
.offer-image img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block!important;object-fit:cover!important;object-position:center center!important;padding:0!important;margin:0!important;background:#fff!important;transform:none!important}
.offer-body{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:12px 12px 10px!important;display:flex!important;flex-direction:column!important;flex:1!important;overflow:hidden!important}
.offer-meta{width:100%!important;height:16px!important;min-height:16px!important;max-height:16px!important;margin-bottom:7px!important;overflow:hidden!important}
.offer-meta>span,.offer-title,.offer-date-line,.price-row,.saving,.offer-actions{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.offer-title{height:52px!important;min-height:52px!important;max-height:52px!important;font-size:13px!important;line-height:1.34!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.offer-date-line{height:20px!important;min-height:20px!important;max-height:20px!important;display:flex!important;align-items:center!important;gap:6px!important;overflow:hidden!important}
.offer-date-line>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.price-row{height:28px!important;min-height:28px!important;max-height:28px!important;display:flex!important;align-items:baseline!important;gap:7px!important;margin-top:8px!important;overflow:hidden!important}.price-row strong{font-size:20px!important;white-space:nowrap!important}.price-row s{font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.saving{height:16px!important;min-height:16px!important;max-height:16px!important;line-height:16px!important;font-size:10px!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.saving.is-empty{visibility:hidden!important}
.offer-actions{height:38px!important;min-height:38px!important;max-height:38px!important;display:flex!important;align-items:center!important;gap:8px!important;margin-top:auto!important;padding-top:10px!important;overflow:hidden!important}
.card-promo{height:38px!important;max-width:none!important;min-width:0!important;flex:1!important}
.thermometer-rating{flex:0 0 82px!important}
@media(max-width:1280px){.offer-grid,.catalog-layout .offer-grid{grid-template-columns:repeat(auto-fill,minmax(228px,1fr))!important}}
@media(max-width:980px){.offer-grid,.catalog-layout .offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.offer-grid,.catalog-layout .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.offer-grid,.catalog-layout .offer-grid{grid-template-columns:1fr!important}}


/* v0.1.18 R8 — 3:4 no-crop cards, unclipped actions */
.offer-grid,.catalog-layout .offer-grid{display:grid!important;grid-template-columns:repeat(auto-fill,var(--offer-card-width))!important;gap:14px!important;align-items:stretch!important;justify-content:start!important}
.offer-card{width:var(--offer-card-width)!important;max-width:100%!important;min-width:0!important;padding:0!important;overflow:hidden!important}
.offer-image{width:100%!important;aspect-ratio:3/4!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;overflow:hidden!important;border-radius:0!important;margin:0!important}
.offer-image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;display:block!important;object-fit:contain!important;object-position:center!important;background:#fff!important;padding:0!important;margin:0!important;transform:none!important}
.offer-body{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:12px 12px 11px!important;overflow:hidden!important}
.offer-meta,.offer-meta>span,.offer-title,.offer-date-line,.price-row,.saving,.offer-actions{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.offer-title{height:36px!important;min-height:36px!important;max-height:36px!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;font-size:13px!important;line-height:1.38!important}
.offer-actions{height:auto!important;min-height:48px!important;max-height:none!important;margin-top:auto!important;padding-top:8px!important;display:flex!important;align-items:stretch!important;gap:8px!important;overflow:visible!important}
.thermometer-rating{flex:0 0 82px!important;width:82px!important;height:40px!important;min-height:40px!important;overflow:hidden!important;align-self:center!important}
.thermometer-rating .vote-btn{height:38px!important}
.card-promo{height:40px!important;min-height:40px!important;max-height:40px!important;min-width:0!important;max-width:none!important;flex:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;align-items:center!important;padding:0!important;overflow:hidden!important;border-radius:10px!important}
.card-promo-copy{display:flex!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:1px!important;padding:0 9px!important;line-height:1!important;text-align:left!important;overflow:hidden!important}
.card-promo-copy small{display:block!important;max-width:100%!important;font-size:8px!important;line-height:1.1!important;font-weight:750!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.card-promo-copy b{display:block!important;max-width:100%!important;font-size:11px!important;line-height:1.1!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.card-promo .promo-cut{width:34px!important;height:40px!important;display:grid!important;place-items:center!important;font-size:15px!important;border-left:1px dashed rgba(0,0,0,.28)!important}
.product-promo-same{width:min(100%,320px)!important;flex:none!important;margin-top:16px!important}
.product-promo-same .card-promo-copy small{font-size:8px!important}.product-promo-same .card-promo-copy b{font-size:12px!important}
@media(max-width:980px){.offer-grid,.catalog-layout .offer-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--offer-card-width)),1fr))!important}.offer-card{width:100%!important}}
@media(max-width:560px){.offer-grid,.catalog-layout .offer-grid{grid-template-columns:1fr!important}.offer-card{width:100%!important;max-width:var(--offer-card-width)!important}}


/* v0.1.19 R9 — editable promo label, offer benefit context, sharing */
.card-promo-copy{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;padding:0 9px!important}
.card-promo-copy .promo-label{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important;font-weight:780!important;line-height:1!important}
.card-promo-copy b{display:block!important;flex:0 0 auto!important;max-width:48%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;font-weight:950!important;line-height:1!important}
.product-promo-same{width:min(100%,360px)!important;height:40px!important;min-height:40px!important;margin-top:16px!important}
.product-promo-same .card-promo-copy{padding:0 10px!important;gap:8px!important}.product-promo-same .card-promo-copy .promo-label{font-size:10px!important}.product-promo-same .card-promo-copy b{font-size:12px!important;max-width:50%!important}
.product-promo-benefit{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:13px 0 11px}
.product-promo-benefit .deal-highlight{display:inline-flex;align-items:center;min-height:29px;padding:7px 10px;border-radius:9px;background:#fff2b7;color:#2d2400;border:1px solid #edd46b;font-family:var(--font-accent);font-size:10px;font-weight:950;line-height:1}
.product-promo-benefit .promo-discount-caption{display:inline-flex;align-items:center;min-height:29px;padding:7px 10px;border-radius:9px;background:#e9f8ef;color:#087846;font-size:10px;font-weight:900;line-height:1}
.product-promo-benefit .discount-badge,.product-promo-benefit .rub-badge{min-height:29px;margin:0}
.product-share{width:min(100%,520px);margin-top:14px;padding-top:12px;border-top:1px solid #eceff2}
.product-share-label{display:block;margin-bottom:8px;color:#6f7680;font-size:10px;font-weight:850}
.product-share-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.share-btn{height:34px;min-width:58px;padding:0 11px;border:1px solid #dde1e6;border-radius:10px;background:#fff;color:#222831;font:800 10px/1 var(--font-body);cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.share-btn:hover{transform:translateY(-1px)}.share-btn.copy{min-width:82px}.share-btn.tg{border-color:#b8ddf2;background:#edf8fe;color:#1688bd}.share-btn.max{border-color:#d9cafb;background:#f5f0ff;color:#6c43c7}.share-btn.vk{border-color:#bdd7f8;background:#eef6ff;color:#2473c8}
@media(max-width:560px){.product-promo-same{width:100%!important}.product-share{width:100%}.product-share-buttons{gap:6px}.share-btn{flex:1;min-width:58px}}


/* v0.1.20 R10 — saved font library, thermometer hover zoom, promo controls, share icons */
.card-promo-copy .promo-label,.product-promo-same .card-promo-copy .promo-label{font-size:var(--promo-badge-text-size)!important}
.card-promo-copy b,.product-promo-same .card-promo-copy b{font-size:var(--promo-badge-text-size)!important}
.card-promo-copy .promo-label:only-child{max-width:100%!important;flex:1 1 auto!important}
.thermometer-rating{overflow:visible!important;position:relative!important}
.thermometer-rating .vote-btn,.thermometer-rating .rating-display{position:relative;z-index:1;transition:transform .16s ease,filter .16s ease,background .16s ease}
.thermometer-rating .vote-btn:hover{z-index:4;transform:scale(1.16);filter:drop-shadow(0 3px 5px rgba(0,0,0,.12))}
.thermometer-rating .vote-btn:hover .vote-arrow{transform:scale(1.18)}
.thermometer-rating .vote-arrow{display:inline-block;transition:transform .16s ease}
.thermometer-rating .rating-display{cursor:default;transform-origin:center}
.thermometer-rating .rating-display:hover{z-index:4;transform:scale(1.25);filter:drop-shadow(0 3px 5px rgba(0,0,0,.13));background:#fff;border-radius:6px;padding:2px 3px;margin:-2px -3px}
.share-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.share-btn.copy{padding:0 12px!important}.share-btn.tg,.share-btn.max,.share-btn.vk{width:36px!important;min-width:36px!important;padding:0!important}
.share-network-icon{display:block;width:21px;height:21px;object-fit:contain;border-radius:5px}
.share-network-fallback{font-size:9px;font-weight:950}
.share-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.android-share-icon circle{fill:currentColor;stroke:none}
@media(max-width:560px){.share-btn.copy{flex:1 1 auto!important}.share-btn.tg,.share-btn.max,.share-btn.vk{flex:0 0 36px!important}}

/* v0.1.21 R11 — value-only thermometer hover, content-sized promo badge, categories-only sidebar */
/* Thermometer: the button/rating containers never grow on hover; only glyph/value changes scale. */
.thermometer-rating .vote-btn:hover{
  transform:none!important;
  filter:none!important;
  background:transparent!important;
}
.thermometer-rating .vote-arrow{
  display:inline-block!important;
  transform-origin:center!important;
  transition:transform .16s ease!important;
}
.thermometer-rating .vote-btn:hover .vote-arrow{
  transform:scale(1.32)!important;
}
.thermometer-rating .rating-display:hover{
  transform:none!important;
  filter:none!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
}
.thermometer-rating .rating-score,
.thermometer-rating .rating-degree{
  display:inline-block!important;
  transform-origin:center!important;
  transition:transform .16s ease!important;
}
.thermometer-rating .rating-display:hover .rating-score,
.thermometer-rating .rating-display:hover .rating-degree{
  transform:scale(1.28)!important;
}

/* Promo badge: width follows its actual one-line text/code content, capped by the card boundary. */
.offer-actions{justify-content:flex-start!important}
.offer-actions .card-promo{
  display:inline-flex!important;
  align-items:stretch!important;
  width:fit-content!important;
  min-width:0!important;
  max-width:calc(100% - 90px)!important;
  flex:0 1 auto!important;
}
.offer-actions .card-promo .card-promo-copy{
  width:auto!important;
  min-width:0!important;
  max-width:calc(100% - 34px)!important;
  flex:0 1 auto!important;
}
.offer-actions .card-promo .promo-cut{
  flex:0 0 34px!important;
}
.product-promo-same{
  display:inline-flex!important;
  width:fit-content!important;
  max-width:100%!important;
  flex:0 1 auto!important;
}
.product-promo-same .card-promo-copy{
  width:auto!important;
  min-width:0!important;
  max-width:calc(100% - 34px)!important;
  flex:0 1 auto!important;
}
.product-promo-same .promo-cut{flex:0 0 34px!important}

/* Sidebar has no title/placeholder: it exists only when real categories are available. */
.catalog-sidebar-scroll{padding-top:10px!important}



/* v0.1.22 R12 — top-level-only compact catalog navigation */
.catalog-sidebar-scroll{padding:6px 7px 8px!important}
.catalog-tree-item{margin:0!important}
.catalog-tree-link{min-height:28px!important;padding:5px 7px!important;gap:6px!important;border-radius:8px!important;font-size:10.5px!important;line-height:1.2!important;transform:none!important}
.catalog-tree-link:before{display:none!important;content:none!important}
.catalog-tree-link:hover{transform:none!important}
.catalog-tree-link small{font-size:8px!important;padding:1px 5px!important}


/* v0.1.23 R13 — sync catalog category text with collection buttons */
.pick-chip,.catalog-tree-link{font-family:var(--font-body)!important;font-size:10.5px!important;font-weight:750!important;}


/* v0.1.24 R14 — shared navigation/category font size */
.pick-chip,.catalog-tree-link{font-family:var(--font-body)!important;font-size:var(--nav-category-font-size)!important;font-weight:750!important;}


/* v0.1.25 R15 — stable first paint: no late font swap */


/* v0.1.26 R16 — one shared pill style for collections and catalog categories */
.nav-pill{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  height:32px!important;
  padding:0 12px!important;
  border:1px solid #30363d!important;
  border-radius:9px!important;
  background:#15191e!important;
  color:#d9dde1!important;
  font-family:var(--font-body)!important;
  font-size:var(--nav-category-font-size)!important;
  font-weight:750!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:background .15s,border-color .15s,color .15s,box-shadow .15s!important;
  transform:none!important;
}
.nav-pill:hover{
  background:#20252b!important;
  border-color:#545b64!important;
  color:#fff!important;
  transform:none!important;
  box-shadow:none!important;
}
.nav-pill.active{
  background:#ffc900!important;
  border-color:#ffc900!important;
  color:#111!important;
}
.nav-pill.active:hover{
  background:#ffd329!important;
  border-color:#ffd329!important;
  color:#111!important;
}
/* Left menu remains vertical, but every row is the same pill component. */
.catalog-sidebar .nav-pill{
  width:100%!important;
  max-width:100%!important;
  justify-content:space-between!important;
}
.catalog-sidebar .nav-pill small{
  flex:0 0 auto!important;
  margin-left:8px!important;
  color:inherit!important;
  opacity:.72!important;
  font-family:inherit!important;
  font-size:.82em!important;
  font-weight:750!important;
  line-height:1!important;
}
.catalog-tree{display:flex!important;flex-direction:column!important;gap:5px!important}
.catalog-tree-item{width:100%!important;margin:0!important}


/* v0.1.27 R17 - active category count without badge */
.catalog-sidebar .nav-pill.active small,
.catalog-sidebar .nav-pill.active:hover small{
  margin-left:8px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  opacity:1!important;
  box-shadow:none!important;
}

/* =========================================================
   v0.1.28 R18 SAFE
   Mobile layout + frameless thermometer/share/category count
   ========================================================= */

/* Градусник — без внешней рамки */
.thermometer-rating{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}

/* Количество товаров у категории — без рамки/плашки */
.catalog-sidebar .nav-pill small,
.catalog-sidebar .nav-pill.active small,
.catalog-sidebar .nav-pill.active:hover small{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  color:inherit!important;
}

/* Соцсети в блоке "Поделиться" — без рамок и подложки */
.share-btn.tg,
.share-btn.max,
.share-btn.vk{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}

.share-btn.tg:hover,
.share-btn.max:hover,
.share-btn.vk:hover{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Категории на планшете и мобильном */
@media(max-width:900px){

  .catalog-sidebar-scroll{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:8px!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .catalog-sidebar-scroll::-webkit-scrollbar{
    display:none;
  }

  .catalog-sidebar-scroll>*{
    flex:0 0 auto!important;
  }

  .catalog-sidebar .nav-pill{
    width:auto!important;
    max-width:none!important;
    min-width:max-content!important;
    white-space:nowrap!important;
  }
}

/* Соцсети на мобильном */
@media(max-width:700px){

  .banner-social-buttons{
    position:static!important;
    inset:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    padding:10px 12px 12px!important;
    pointer-events:auto!important;
    background:#0d1118!important;
  }

  .banner-social-button,
  .banner-social-button.vk,
  .banner-social-button.max,
  .banner-social-button.tg{
    display:grid!important;
    position:static!important;
    top:auto!important;
    right:auto!important;
    transform:none!important;
    width:44px!important;
    height:44px!important;
    flex:0 0 44px!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
}

/* Карточки на телефоне — одна колонка по центру */
@media(max-width:560px){

  .offer-grid,
  .catalog-layout .offer-grid{
    grid-template-columns:1fr!important;
    justify-content:center!important;
    justify-items:center!important;
  }

  .offer-card{
    width:100%!important;
    max-width:var(--offer-card-width)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}



/* v0.1.29 R19 SAFE
   collapsible mobile catalog + responsive banner social zone
   ---------------------------------------------------------- */

/* Кнопка мобильного каталога на desktop не показывается */
.catalog-mobile-toggle,
.catalog-mobile-trigger{
  display:none;
}


/* =========================================================
   MOBILE CATALOG
   ========================================================= */

@media(max-width:900px){

  .catalog-sidebar{
    position:static!important;
    overflow:hidden!important;
  }

  .catalog-mobile-toggle{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  .catalog-mobile-trigger{
    box-sizing:border-box!important;
    width:100%!important;
    min-height:46px!important;
    padding:0 14px!important;

    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;

    cursor:pointer!important;

    background:linear-gradient(165deg,#171c21,#0e1114)!important;
    color:#fff!important;

    font-family:var(--font-body)!important;
    font-size:var(--nav-category-font-size)!important;
    font-weight:850!important;

    user-select:none!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  .catalog-mobile-trigger span{
    min-width:0!important;
  }

  .catalog-mobile-chevron{
    display:grid!important;
    place-items:center!important;

    width:26px!important;
    height:26px!important;

    color:var(--yellow)!important;

    font-size:25px!important;
    font-weight:500!important;
    line-height:1!important;

    transform:rotate(0deg)!important;
    transition:transform .18s ease!important;
  }

  /*
   * По умолчанию категории закрыты.
   * Это правило перекрывает горизонтальную ленту R18.
   */
  .catalog-sidebar-scroll{
    display:none!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;

    width:100%!important;

    padding:7px!important;
    gap:3px!important;

    overflow:visible!important;

    border-top:1px solid rgba(255,255,255,.08)!important;
  }

  /* Открытие по кнопке */
  .catalog-mobile-toggle:checked ~ .catalog-sidebar-scroll{
    display:flex!important;
  }

  .catalog-mobile-toggle:checked + .catalog-mobile-trigger
  .catalog-mobile-chevron{
    transform:rotate(90deg)!important;
  }

  .catalog-sidebar .nav-pill{
    box-sizing:border-box!important;

    width:100%!important;
    max-width:100%!important;
    min-width:0!important;

    white-space:normal!important;
  }
}


/* =========================================================
   MOBILE HEADER SOCIALS
   Исходный баннер: 3327 px
   Разрешённая область: X=2200..3300 px
   = 66.13% .. 99.19%
   ========================================================= */

@media(max-width:700px){

  .unified-header-banner{
    position:relative!important;
    overflow:hidden!important;
  }

  /*
   * Возвращаем соцсети внутрь баннера.
   * Никакой отдельной тёмной подложки.
   */
  .banner-social-buttons{
    position:absolute!important;

    left:66.13%!important;
    right:.81%!important;

    top:0!important;
    bottom:0!important;

    width:auto!important;
    height:auto!important;

    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-evenly!important;

    gap:clamp(2px,.8vw,7px)!important;
    padding:0!important;
    margin:0!important;

    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;

    pointer-events:none!important;

    z-index:5!important;
  }

  .banner-social-button,
  .banner-social-button.vk,
  .banner-social-button.max,
  .banner-social-button.tg{
    position:static!important;

    top:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;

    /*
     * Масштабирование иконок относительно ширины телефона.
     * На маленьком смартфоне ≈22–28 px,
     * на планшете максимум 42 px.
     */
    width:clamp(20px,7vw,42px)!important;
    height:clamp(20px,7vw,42px)!important;

    flex:0 0 clamp(20px,7vw,42px)!important;

    transform:none!important;

    padding:0!important;
    margin:0!important;

    border:0!important;
    border-radius:20%!important;

    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;

    overflow:hidden!important;

    pointer-events:auto!important;
  }

  .banner-social-button img,
  .banner-social-button span{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;

    object-fit:contain!important;
  }
}


/* =========================================================
   PHONE PRODUCT GRID
   ========================================================= */

@media(max-width:560px){

  .offer-grid,
  .catalog-layout .offer-grid{
    grid-template-columns:1fr!important;

    justify-content:center!important;
    justify-items:center!important;
  }

  .offer-card{
    width:100%!important;
    max-width:var(--offer-card-width)!important;

    margin-left:auto!important;
    margin-right:auto!important;
  }
}



/* v0.1.30 R20 SAFE — price emphasis only */


/* =========================================================
   ПЛАШКИ НА ФОТО ПРЕВЬЮ

   Только расположение.
   Цвета существующих плашек НЕ меняются.

   1. скидка %
   2. скидка ₽
   ========================================================= */

.offer-badges{
  left:8px!important;
  right:auto!important;
  top:auto!important;
  bottom:8px!important;

  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;

  align-items:flex-start!important;
  justify-content:flex-end!important;

  gap:5px!important;

  max-width:calc(100% - 16px)!important;
  overflow:visible!important;
}

.offer-badges .discount-badge{
  order:1!important;
}

.offer-badges .rub-badge{
  order:2!important;
}

/*
  Если у товара есть ТОПЧИК,
  не удаляем его, а ставим после двух скидочных плашек.
*/
.offer-badges .top-badge{
  order:3!important;
}


/* =========================================================
   ПРЕВЬЮ — ЦЕНА

   Цена без скидки
   Цена после промокода
   Зелёная цена
   ========================================================= */

.price-row.price-stack{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;

  margin-top:9px!important;

  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;

  gap:2px!important;

  overflow:visible!important;
}

.price-row.price-stack .price-before{
  display:block!important;

  max-width:100%!important;

  font-size:15px!important;
  line-height:1.15!important;
  font-weight:750!important;

  color:#8f969f!important;

  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.price-row.price-stack .promo-price-label{
  display:block!important;

  margin-top:2px!important;

  color:var(--green)!important;

  font-size:9.5px!important;
  line-height:1.15!important;
  font-weight:900!important;
}

.price-row.price-stack.has-promo .promo-price-value{
  color:var(--green)!important;

  font-size:25px!important;
  line-height:1.05!important;
  font-weight:950!important;

  letter-spacing:-.04em!important;

  white-space:nowrap!important;
}


/* =========================================================
   ЭКОНОМИЯ В ПРЕВЬЮ

   [18 156 ₽]  экономия с промокодом
   ========================================================= */

.saving.saving-row{
  height:auto!important;
  min-height:27px!important;
  max-height:none!important;

  margin-top:6px!important;

  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;

  gap:7px!important;

  line-height:1.15!important;

  white-space:normal!important;

  overflow:visible!important;
  text-overflow:clip!important;
}

.saving-row .saving-amount{
  flex:0 0 auto!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  min-height:25px!important;

  padding:4px 8px!important;

  border-radius:8px!important;

  background:#e7f7ed!important;
  color:var(--green)!important;

  font-size:10.5px!important;
  line-height:1!important;
  font-weight:950!important;

  white-space:nowrap!important;
}

.saving-row .saving-text{
  min-width:0!important;

  color:#747b85!important;

  font-size:8.8px!important;
  line-height:1.15!important;
  font-weight:800!important;

  white-space:nowrap!important;
}


/* =========================================================
   СТРАНИЦА ПРЕДЛОЖЕНИЯ
   Правый блок от фотографии.

   Повторяем ту же логику цены.
   ========================================================= */

.product-price.product-price-stack{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;

  gap:3px!important;
}

.product-price.product-price-stack .price-before{
  display:block!important;

  max-width:100%!important;

  font-size:22px!important;
  line-height:1.15!important;
  font-weight:750!important;

  color:#8f969f!important;

  white-space:nowrap!important;
}

.product-price.product-price-stack .promo-price-label{
  display:block!important;

  margin-top:3px!important;

  color:var(--green)!important;

  font-size:11px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

.product-price.product-price-stack.has-promo .promo-price-value{
  color:var(--green)!important;

  font-size:40px!important;
  line-height:1.02!important;
  font-weight:950!important;

  letter-spacing:-.045em!important;

  white-space:nowrap!important;
}


/* =========================================================
   ЭКОНОМИЯ НА СТРАНИЦЕ ПРЕДЛОЖЕНИЯ
   ========================================================= */

.product-info .saving.big.saving-row{
  min-height:34px!important;

  margin-top:9px!important;

  gap:9px!important;
}

.product-info .saving.big.saving-row .saving-amount{
  min-height:32px!important;

  padding:6px 11px!important;

  border-radius:9px!important;

  font-size:14px!important;
}

.product-info .saving.big.saving-row .saving-text{
  font-size:10px!important;
  line-height:1.2!important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:560px){

  .price-row.price-stack .price-before{
    font-size:15px!important;
  }

  .price-row.price-stack.has-promo .promo-price-value{
    font-size:24px!important;
  }

  .product-price.product-price-stack .price-before{
    font-size:19px!important;
  }

  .product-price.product-price-stack.has-promo .promo-price-value{
    font-size:34px!important;
  }
}

