:root {
  --ink: #111;
  --ink-2: #565656;
  --ink-3: #8a8a8a;
  --line: #e4e4e4;
  --line-2: #f0f0f0;
  --bg: #fff;
  --bg-2: #f6f6f5;
  --red: #b12b2b;
  --ok: #2f7a3f;
  --font: 'TildaSans', Arial, sans-serif;
  --side: 268px;
  --gut: 30px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.45 var(--font); color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 600; margin: 0; line-height: 1.2; }
.muted { color: var(--ink-3); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.loading { padding: 120px var(--gut); text-align: center; color: var(--ink-3); }

/* ---------- шапка ---------- */
.top { background: #000; color: #fff; position: sticky; top: 0; z-index: 50; }
.top__in { max-width: 1440px; margin: 0 auto; height: 72px; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.top__nav { display: flex; gap: 30px; }
.top__nav a { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .92; }
.top__nav a:hover, .top__nav a.on { opacity: 1; box-shadow: inset 0 -1px 0 #fff; }
.logo { font-size: 22px; font-weight: 600; letter-spacing: .01em; margin-left: auto; }
.top__search { display: flex; align-items: center; border-bottom: 1px solid #555; width: 260px; }
.top__search input { flex: 1; background: none; border: 0; outline: 0; color: #fff; padding: 6px 0; font-size: 14px; min-width: 0; }
.top__search input::placeholder { color: #8a8a8a; }
.top__search button { color: #fff; padding: 4px; }
.top__icons { display: flex; gap: 14px; }
.ico { position: relative; display: block; padding: 4px; }
.ico b { position: absolute; top: -3px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #fff; color: #000; font-size: 11px; line-height: 16px; text-align: center; font-weight: 600; }
.ico b:empty { display: none; }
.top__phone { background: #fff; color: #000; font-size: 13px; letter-spacing: .08em; padding: 12px 22px; white-space: nowrap; }
.burger { display: none; width: 26px; height: 18px; position: relative; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: #fff; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 8px; } .burger i:nth-child(3) { top: 16px; }

/* ---------- главная ---------- */
.hero { background: #0b0b0b; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
.hero__in { align-self: center; padding: 64px 48px 64px max(var(--gut), calc((100vw - 1440px) / 2 + var(--gut))); }
.hero__img { position: relative; overflow: hidden; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero h1 { font-size: 44px; font-weight: 600; max-width: 640px; }
.hero p { font-size: 18px; font-weight: 300; max-width: 620px; color: #ddd; margin: 18px 0 34px; }
.hero__links { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.hero__links a { font-size: 20px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 3px; }
.hero__links a:hover { border-color: #fff; }

.secgrid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 56px 0; }
.secgrid a { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 22px 18px; display: grid; grid-template-rows: 180px auto auto; gap: 6px; }
.secgrid a:hover { background: var(--bg-2); }
.secgrid img { width: 100%; height: 180px; object-fit: contain; mix-blend-mode: multiply; }
.secgrid b { font-size: 18px; font-weight: 600; }
.secgrid span { font-size: 13px; color: var(--ink-3); }
.block-h { display: flex; justify-content: space-between; align-items: baseline; margin: 56px 0 20px; }
.block-h h2 { font-size: 28px; }
.block-h a { font-size: 14px; border-bottom: 1px solid var(--line); }

/* ---------- каталог ---------- */
.crumbs { font-size: 13px; color: var(--ink-3); padding: 26px 0 8px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span + span::before { content: "/"; margin: 0 8px; color: #c8c8c8; }
.cat-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; }
.cat-head h1 { font-size: 32px; }
.cat-head .muted { font-size: 15px; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; padding: 12px 18px 12px 0; margin-right: 18px; font-size: 15px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--ink); font-weight: 600; }

.cat { display: grid; grid-template-columns: var(--side) 1fr; gap: 40px; align-items: start; }
.side { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 10px; scrollbar-width: thin; }
.side__head { display: none; }
.f { border-top: 1px solid var(--line); padding: 16px 0 14px; }
.f:first-child { border-top: 0; padding-top: 0; }
.f__t { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 14px; font-weight: 600; text-align: left; }
.f__t::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s; }
.f.closed .f__t::after { transform: rotate(-45deg); margin-top: 0; }
.f.closed .f__b { display: none; }
.f__b { margin-top: 12px; }
.f__sel { font-weight: 400; color: var(--red); font-size: 12px; margin-left: 6px; }
.chk { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; cursor: pointer; user-select: none; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk .box { flex: none; width: 16px; height: 16px; border: 1px solid #b6b6b6; background: #fff; position: relative; }
.chk input:checked + .box { background: #000; border-color: #000; }
.chk input:checked + .box::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.chk .lbl { flex: 1; min-width: 0; }
.chk .n { color: var(--ink-3); font-size: 12px; }
.chk.dis { opacity: .38; }
.more { font-size: 13px; color: var(--ink-2); border-bottom: 1px dashed #b6b6b6; margin-top: 6px; }
.sub-group { margin: 6px 0 10px; }
.sub-group__t { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin: 10px 0 4px; }

.price-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-in input { width: 100%; border: 1px solid var(--line); padding: 8px 10px; font-size: 14px; outline: 0; }
.price-in input:focus { border-color: #000; }
.f-search { width: 100%; border: 1px solid var(--line); padding: 7px 10px; font-size: 13px; margin-bottom: 8px; outline: 0; }

/* цветовой фильтр */
.colors { display: grid; grid-template-columns: 1fr; gap: 1px; }
.cfam { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; user-select: none; width: 100%; text-align: left; }
.cfam .lbl { flex: 1; }
.cfam .n { color: var(--ink-3); font-size: 12px; }
.cfam.on .sw { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #000; }
.cfam.on .lbl { font-weight: 600; }
.cfam.dis { opacity: .35; }
.shades { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 10px 32px; }
.shade { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; border: 1px solid var(--line); padding: 3px 8px 3px 4px; background: #fff; }
.shade .sw { width: 16px; height: 16px; }
.shade .n { color: var(--ink-3); font-size: 11px; }
.shade.on { border-color: #000; background: #000; color: #fff; }
.shade.on .n { color: #aaa; }
.shade.dis { opacity: .35; }
.c-hint { font-size: 12px; color: var(--ink-3); margin: 0 0 8px; }

/* образец цвета */
.sw { --c: #ccc; flex: none; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); vertical-align: middle; }
.sw[data-x="metal"] { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 45%, #fff) 0%, var(--c) 42%, color-mix(in srgb, var(--c) 72%, #000) 78%, color-mix(in srgb, var(--c) 80%, #fff) 100%); }
.sw[data-x="glass"] { background: linear-gradient(135deg, rgba(255,255,255,.95) 0 30%, transparent 31%), repeating-conic-gradient(#e7ebed 0 25%, #fff 0 50%) 0 0/8px 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); }
.sw[data-x="tinted"] { background: linear-gradient(135deg, rgba(255,255,255,.45) 0 22%, transparent 23%), linear-gradient(color-mix(in srgb, var(--c) 82%, transparent), color-mix(in srgb, var(--c) 82%, transparent)), repeating-conic-gradient(#ddd 0 25%, #fff 0 50%) 0 0/8px 8px; }
.sw[data-x="multi"] { background: conic-gradient(#b2302b, #e1b42b, #4f7a4a, #2f4a86, #b2302b); }
.sw.split { background: linear-gradient(135deg, var(--c) 50%, var(--c2) 50%); }

/* панель над сеткой */
.bar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.bar__count { font-size: 14px; color: var(--ink-2); margin-right: auto; }
.bar select { border: 1px solid var(--line); padding: 8px 32px 8px 12px; font-size: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.3'/%3E%3C/svg%3E") right 12px center no-repeat; appearance: none; border-radius: 0; }
.filters-btn { display: none; border: 1px solid #000; padding: 8px 14px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: var(--bg-2); padding: 5px 10px; }
.chip .sw { width: 14px; height: 14px; }
.chip i { font-style: normal; color: var(--ink-3); margin-left: 2px; }
.chip:hover i { color: var(--red); }
.chip--reset { background: none; border-bottom: 1px solid var(--line); padding: 5px 0; margin-left: 6px; }

/* карточки */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 16px 18px; display: flex; flex-direction: column; position: relative; min-width: 0; }
.card__img { display: block; aspect-ratio: 1; margin-bottom: 14px; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__img .noimg { width: 100%; height: 100%; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-3); font-size: 13px; }
.tags { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; background: #000; color: #fff; }
.tag--sale { background: var(--red); }
.fav-btn { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; display: grid; place-items: center; color: #9a9a9a; z-index: 2; }
.fav-btn:hover { color: #000; }
.fav-btn.on { color: var(--red); }
.fav-btn.on path { fill: currentColor; }
.card__cat { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.card__name { font-size: 15px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; overflow-wrap: anywhere; }
.card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__sku { font-size: 12px; color: var(--ink-3); margin-bottom: 10px; overflow-wrap: anywhere; }
.card__vars { display: flex; gap: 5px; align-items: center; margin-bottom: 12px; min-height: 18px; flex-wrap: wrap; }
.card__vars .sw { width: 16px; height: 16px; }
.card__vars a.cur .sw { box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px #000; }
.card__vars em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.card__bottom { margin-top: auto; }
.price { font-size: 18px; font-weight: 600; white-space: nowrap; }
.price s { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 8px; }
.price--sale { color: var(--red); }
.stock { font-size: 12px; color: var(--ink-2); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.stock.no::before { background: #c4c4c4; }
.card__buy { margin-top: 12px; width: 100%; border: 1px solid #000; padding: 9px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.card__buy:hover, .card__buy.in { background: #000; color: #fff; }

.pager { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 36px 0 70px; }
.btn { display: inline-block; background: #000; color: #fff; padding: 14px 34px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.btn:hover { background: #333; }
.btn--line { background: #fff; color: #000; border: 1px solid #000; }
.btn--line:hover { background: #000; color: #fff; }
.pages { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pages a, .pages span { min-width: 36px; height: 36px; display: grid; place-items: center; font-size: 14px; padding: 0 6px; }
.pages a:hover { background: var(--bg-2); }
.pages .on { background: #000; color: #fff; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }
.empty .btn { margin-top: 18px; }

/* ---------- товар ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; margin: 10px 0 60px; }
.gal { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; }
.gal__thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 620px; overflow-y: auto; scrollbar-width: thin; }
.gal__thumbs button { border: 1px solid var(--line); aspect-ratio: 1; padding: 4px; background: #fff; }
.gal__thumbs button.on { border-color: #000; }
.gal__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gal__main { aspect-ratio: 1; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; background: #fff; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; }
.gal__arrow { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; background: rgba(255,255,255,.85); display: grid; place-items: center; }
.gal__arrow--l { left: 8px; } .gal__arrow--r { right: 8px; }
.gal__arrow::before { content: ""; width: 9px; height: 9px; border-left: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin-left: 4px; }
.gal__arrow--r::before { transform: rotate(-135deg); margin: 0 4px 0 0; }

.info__brand { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.info h1 { font-size: 30px; margin-bottom: 8px; }
.info__sku { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; display: flex; gap: 18px; flex-wrap: wrap; }
.info__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.info__price .price { font-size: 30px; }
.info__price .price s { font-size: 18px; }
.save { background: var(--red); color: #fff; font-size: 12px; padding: 3px 8px; }
.info .stock { font-size: 14px; margin: 10px 0 26px; }
.buyrow { display: flex; gap: 10px; margin-bottom: 30px; }
.qty { display: flex; border: 1px solid var(--line); }
.qty button { width: 40px; font-size: 18px; }
.qty input { width: 48px; text-align: center; border: 0; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.buyrow .btn { flex: 1; }
.buyrow .fav-btn { position: static; width: 50px; height: auto; border: 1px solid var(--line); }
.vars { border-top: 1px solid var(--line); padding: 20px 0; }
.vars__t { font-size: 14px; margin-bottom: 12px; }
.vars__t b { font-weight: 600; }
.vars__list { display: flex; gap: 10px; flex-wrap: wrap; }
.var { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 74px; text-align: center; font-size: 11px; line-height: 1.25; color: var(--ink-2); }
.var__img { width: 74px; height: 74px; border: 1px solid var(--line); padding: 4px; position: relative; }
.var__img img { width: 100%; height: 100%; object-fit: contain; }
.var__img .sw { position: absolute; right: 3px; bottom: 3px; width: 16px; height: 16px; }
.var.cur .var__img { border-color: #000; }
.var:hover .var__img { border-color: #888; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes a { border: 1px solid var(--line); padding: 6px 10px; font-size: 13px; }
.sizes a:hover { border-color: #888; }
.sizes a.cur { border-color: #000; font-weight: 600; }
.keyspecs { border-top: 1px solid var(--line); padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 14px; }
.keyspecs dt { color: var(--ink-3); font-size: 12px; }
.keyspecs dd { margin: 0; }

.ptabs { display: flex; gap: 34px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.ptabs button { padding: 12px 0; font-size: 17px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ptabs button.on { color: var(--ink); border-color: #000; font-weight: 600; }
.ppane { display: none; margin-bottom: 60px; }
.ppane.on { display: block; }
.desc { max-width: 820px; font-size: 16px; color: #333; white-space: pre-line; }
.specs { columns: 2; column-gap: 56px; }
.specs section { break-inside: avoid; margin-bottom: 26px; }
.specs h3 { font-size: 16px; margin-bottom: 8px; }
.specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs td { padding: 7px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs td:first-child { color: var(--ink-2); width: 52%; padding-right: 16px; }
.docs { display: flex; flex-direction: column; gap: 10px; }
.docs a { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.docs a::before { content: "↓"; width: 30px; height: 30px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; }
.docs a:hover { text-decoration: underline; }

/* ---------- корзина, страницы ---------- */
.page { max-width: 1100px; padding-bottom: 80px; }
.page h1 { font-size: 32px; margin: 10px 0 26px; }
.page p { max-width: 720px; }
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.cline { display: grid; grid-template-columns: 90px 1fr auto auto 24px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline:first-child { border-top: 1px solid var(--line); }
.cline img { width: 90px; height: 90px; object-fit: contain; }
.cline__n { font-size: 15px; font-weight: 600; }
.cline__s { font-size: 12px; color: var(--ink-3); }
.cline .price { font-size: 16px; min-width: 110px; text-align: right; }
.cline__x { color: var(--ink-3); font-size: 20px; }
.cline__x:hover { color: var(--red); }
.order { background: var(--bg-2); padding: 26px; }
.order h2 { font-size: 20px; margin-bottom: 16px; }
.order__sum { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; padding: 14px 0; border-top: 1px solid #ddd; margin-top: 8px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.field input, .field textarea { width: 100%; border: 1px solid #ddd; background: #fff; padding: 10px 12px; font-size: 15px; outline: 0; border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: #000; }
.field--bad input, .field--bad input:focus { border-color: var(--red); }
.field__err { display: block; font-size: 12px; color: var(--red); margin-top: 4px; line-height: 1.4; }
.field__fix { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.consent { font-size: 12px; color: var(--ink-2); display: flex; gap: 8px; margin: 10px 0 6px; }
.consent a, .consent__note a { text-decoration: underline; }
.consent__note { font-size: 12px; color: var(--ink-3); margin: 0 0 16px; }
.revoke { margin-top: 28px; }
.revoke p { font-size: 13px; }
.revoke a { text-decoration: underline; }
.order .btn { width: 100%; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 1px solid var(--line); padding-top: 26px; }
.contacts b { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.contacts div { font-size: 18px; }

/* ---------- главная: витрины, примерка, сотрудничество ---------- */
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.subcats a { border: 1px solid var(--line); padding: 7px 12px; font-size: 14px; }
.subcats a:hover { border-color: #000; }
.subcats span { color: var(--ink-3); font-size: 12px; margin-left: 6px; }
.tryon-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #0b0b0b; color: #fff; padding: 40px 44px; margin: 0 0 10px; }
.tryon-banner h2 { font-size: 30px; margin: 6px 0 10px; }
.tryon-banner p { color: #bbb; margin: 0; max-width: 620px; }
.tryon-banner__k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; }
.tryon-banner .btn--line { background: transparent; color: #fff; border-color: #fff; white-space: nowrap; }
.tryon-banner:hover .btn--line { background: #fff; color: #000; }
.partners { margin-bottom: 30px; }
.partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners__grid a { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.partners__grid a:hover { background: var(--bg-2); }
.partners__grid b { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.partners__grid h3 { font-size: 18px; }
.partners__grid p { font-size: 14px; color: var(--ink-2); margin: 0 0 6px; flex: 1; }
.partners__grid span { font-size: 13px; }
.tryon-link { display: inline-block; font-size: 14px; border-bottom: 1px solid #000; margin: -12px 0 24px; }
.btn-sm { border: 1px solid #000; padding: 8px 14px; font-size: 13px; background: #fff; }
.btn-sm:hover { background: #000; color: #fff; }
.btn-sm.dark { background: #000; color: #fff; }

/* ---------- примерка ---------- */
.tryon__lead { color: var(--ink-2); max-width: 760px; margin: -6px 0 24px; }
.tryon__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; margin-bottom: 60px; }
.tryon__stage { position: relative; background: var(--bg-2); min-height: 460px; overflow: hidden; user-select: none; touch-action: none; }
.tryon__stage.has { min-height: 0; background: #000; }
.tryon__stage.over { outline: 2px dashed #000; outline-offset: -8px; }
.tryon__photo { display: block; width: 100%; height: auto; pointer-events: none; }
.tryon__drop { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; text-align: center; padding: 20px; }
.tryon__drop b { font-size: 18px; border-bottom: 1px solid #000; }
.tryon__drop span { font-size: 13px; color: var(--ink-3); }
.tryon__drop.mini { inset: auto 12px 12px auto; background: rgba(255,255,255,.92); padding: 8px 14px; flex-direction: row; z-index: 5; }
.tryon__drop.mini b { font-size: 13px; border: 0; }
.tryon__drop.mini span { display: none; }
.tryon__lamp { position: absolute; cursor: grab; z-index: 2; }
.tryon__lamp canvas { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.tryon__lamp.on { outline: 1px dashed rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.tryon__lamp:active { cursor: grabbing; }
.tryon__h { display: none; position: absolute; right: -8px; bottom: -8px; width: 16px; height: 16px; background: #fff; border: 1.5px solid #000; cursor: nwse-resize; }
.tryon__lamp.on .tryon__h { display: block; }
.tryon__tools { margin-top: 16px; }
.tryon__sel { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.tryon__sel img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); }
.tryon__sel a { font-size: 15px; font-weight: 600; display: block; margin-bottom: 2px; }
.tryon__size { display: flex; align-items: center; gap: 12px; font-size: 14px; margin-bottom: 12px; max-width: 420px; }
.tryon__size input { flex: 1; accent-color: #000; }
.tryon__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tryon__hint { font-size: 13px; margin: 10px 0 0; }
.tryon__side { position: sticky; top: 92px; }
.tryon__mood { border: 1px solid var(--line); padding: 14px; margin-bottom: 16px; font-size: 14px; }
.tryon__mood p { margin: 8px 0 0; }
.tryon__pal { display: flex; gap: 4px; }
.tryon__pal i { flex: 1; height: 22px; }
.tryon__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tryon__cats button { border: 1px solid var(--line); padding: 6px 11px; font-size: 13px; }
.tryon__cats button.on { background: #000; color: #fff; border-color: #000; }
.tryon__lt { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.tryon__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.tryon__it { border: 1px solid var(--line); padding: 4px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.tryon__it img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.tryon__it span { font-size: 11px; color: var(--ink-2); }
.tryon__it:hover { border-color: #888; }
.tryon__it.on { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
@media (max-width: 1080px) { .partners__grid { grid-template-columns: repeat(2, 1fr); } .tryon__grid { grid-template-columns: 1fr; } .tryon__side { position: static; } }
@media (max-width: 900px) {
  .tryon-banner { flex-direction: column; align-items: flex-start; padding: 28px 20px; }
  .tryon-banner h2 { font-size: 22px; }
  .partners__grid { grid-template-columns: 1fr; }
  .tryon__stage { min-height: 300px; }
  .tryon__items { grid-template-columns: repeat(4, 1fr); max-height: 360px; }
}

/* ---------- кабинет ---------- */
.ico--acc i { position: absolute; right: 0; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: #3fbf5a; box-shadow: 0 0 0 2px #000; display: none; }
.ico--acc.on i { display: block; }
.price--mine { color: var(--ink); }
.mine { font-size: 12px; color: var(--ok); margin-top: 2px; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 26px; align-items: start; }
.acc { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; margin-top: 10px; }
.acc__box { border-top: 1px solid var(--line); padding: 20px 0 28px; }
.acc__box h2 { font-size: 20px; margin-bottom: 14px; }
.big-disc { font-size: 54px; font-weight: 600; line-height: 1; margin-bottom: 14px; }
.big-disc span { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); margin-top: 6px; }
.disc-table, .orders { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.disc-table td, .orders td { padding: 9px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.disc-table td:last-child { text-align: right; font-weight: 600; }
.orders td { padding-right: 14px; }
.orders .r { text-align: right; padding-right: 0; white-space: nowrap; }
.orders a { text-decoration: underline; text-underline-offset: 2px; }
.st { font-size: 12px; padding: 2px 7px; background: var(--bg-2); display: inline-block; margin-top: 4px; }
.st--done { background: #e6f2e8; color: var(--ok); }
.st--cancel { color: var(--ink-3); text-decoration: line-through; }
.st--work { background: #fff4dc; }
.pw { margin: 4px 0 16px; font-size: 14px; }
.pw summary { cursor: pointer; color: var(--ink-2); margin-bottom: 10px; }
.order .btn:disabled { opacity: .5; cursor: default; }
@media (max-width: 900px) { .auth, .acc { grid-template-columns: 1fr; } }

/* ---------- подвал ---------- */
.foot { background: #0b0b0b; color: #cfcfcf; margin-top: 40px; font-size: 14px; }
.foot__in { max-width: 1440px; margin: 0 auto; padding: 56px var(--gut) 36px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.logo--foot { color: #fff; margin: 0 0 6px; }
.foot__h { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a:hover { color: #fff; }
.foot p { margin: 0 0 10px; }
.foot__legal { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut) 18px; font-size: 12px; }
.foot__links { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__seller, .foot__note { margin: 0 0 4px; }
.foot__bottom { max-width: 1440px; margin: 0 auto; padding: 18px var(--gut) 26px; border-top: 1px solid #222; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #000; color: #fff; padding: 12px 20px; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 100; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast a { text-decoration: underline; margin-left: 10px; }

/* ---------- адаптив ---------- */
@media (max-width: 1280px) {
  .top__nav { gap: 20px; }
  .top__search { width: 200px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid--5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  .top__phone { display: none; }
  .secgrid { grid-template-columns: repeat(3, 1fr); }
  .secgrid a:last-child:nth-child(3n+1) { grid-column: span 3; }
  .prod { grid-template-columns: 1fr; gap: 30px; }
  .cart { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --gut: 16px; }
  .top__in { height: 58px; gap: 16px; }
  .burger { display: block; }
  .top__nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: #000; flex-direction: column; gap: 0; padding: 6px 16px 16px; }
  .top__nav.open { display: flex; }
  .top__nav a { padding: 12px 0; border-bottom: 1px solid #222; }
  .logo { margin-left: 0; margin-right: auto; font-size: 20px; }
  .top__search { position: absolute; top: 58px; left: 0; right: 0; width: auto; height: 48px; align-items: flex-start; background: #000; padding: 0 16px; border: 0; }
  .top__search input { border-bottom: 1px solid #444; }
  body { --searchpad: 48px; }
  main { padding-top: 48px; }
  .cat { grid-template-columns: 1fr; }
  .side { display: none; position: fixed; inset: 0; z-index: 80; background: #fff; max-height: none; padding: 0 16px 90px; top: 0; }
  .side.open { display: block; }
  .side__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 16px 0; margin-bottom: 6px; border-bottom: 1px solid var(--line); z-index: 1; }
  .side__head b { font-size: 18px; }
  .side__apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }
  .side__apply .btn { width: 100%; }
  .filters-btn { display: inline-block; }
  .grid, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 12px 10px 14px; }
  .card__name { font-size: 14px; }
  .price { font-size: 16px; }
  .fav-btn { top: 8px; right: 6px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { order: -1; height: 320px; }
  .hero__img img { object-position: 50% 18%; }
  .hero__in { padding: 28px 16px 36px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .secgrid { grid-template-columns: repeat(2, 1fr); margin: 30px 0; }
  .secgrid a:last-child:nth-child(3n+1) { grid-column: auto; }
  .secgrid a { grid-template-rows: 120px auto auto; padding: 14px; }
  .secgrid img { height: 120px; }
  .cat-head h1 { font-size: 26px; }
  .gal { grid-template-columns: 1fr; }
  .gal__thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .gal__thumbs button { width: 64px; flex: none; }
  .info h1 { font-size: 24px; }
  .specs { columns: 1; }
  .cline { grid-template-columns: 64px 1fr auto; grid-template-areas: "i n x" "i q p"; gap: 6px 12px; }
  .cline img { width: 64px; height: 64px; grid-area: i; }
  .cline > div:nth-child(2) { grid-area: n; }
  .cline .qty { grid-area: q; justify-self: start; }
  .cline .price { grid-area: p; min-width: 0; }
  .cline__x { grid-area: x; }
  .contacts { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) { .side__apply { display: none; } }

/* ссылка-кнопка: «Подходящие лампы» и т.п. */
.ulink { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; border-bottom: 1px solid currentColor; text-align: left; }
.ulink:hover { opacity: .7; }
.block-h .ulink { font-size: 14px; border-bottom-color: var(--line); }
[data-role="lamps"] { scroll-margin-top: 90px; }

/* ---------- оплата заказа (/pay/<токен>) */
.pay-top { justify-content: center; }
.pay { max-width: 760px; }
.pay__items { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.pay__items td { padding: 10px 8px 10px 0; border-bottom: 1px solid #e6e6e6; vertical-align: top; }
.pay__items .r { text-align: right; white-space: nowrap; }
.pay__total td { font-weight: 600; font-size: 18px; border-bottom: 0; }
.pay__form .btn { width: 100%; margin-top: 8px; }
.pay__note { font-size: 13px; margin: 12px 0 0; }
.pay__err { color: #b00020; margin: 12px 0 0; }
.pay__ok { font-size: 18px; padding: 16px; background: #eef7ee; }
.pay__widget { margin: 20px 0; min-width: 288px; }
.paybtn { padding: 6px 12px; font-size: 11px; margin-top: 6px; }
.steps { max-width: 720px; padding-left: 20px; margin: 0 0 16px; }
.steps li { margin-bottom: 8px; }
.page > h2 { font-size: 20px; margin: 26px 0 12px; }
.pay-foot { padding-top: 20px; }
