:root {
  --bg: #ffffff;
  --tint: #f5f3ef;
  --ink: #141414;
  --muted: #6b665e;
  --line: #e4e0d8;
  --stone: #8c8577;
  --wa: #1f9d55;
  --wa-dark: #188546;
  --r: 10px;
  --font: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 600; color: var(--stone); margin: 0 0 14px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid var(--ink); transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: #333; border-color: #333; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--wa); border-color: var(--wa); }
.btn--wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.hdr__logo img { height: 46px; width: auto; }
.hdr__nav .menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.hdr__nav a { text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.hdr__nav a:hover { color: var(--stone); }
.hdr__navphone { display: none; }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr__search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); height: 40px; padding: 0 4px 0 12px; }
.hdr__search input { border: 0; outline: 0; font: inherit; font-size: 14px; width: 190px; background: transparent; }
.hdr__search button { border: 0; background: none; width: 32px; height: 32px; cursor: pointer; color: var(--muted); }
.hdr__search svg { width: 18px; height: 18px; }
.hdr__phone { font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.hdr__burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.hdr__burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-open .hdr__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .hdr__burger span:nth-child(2) { opacity: 0; }
.menu-open .hdr__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* секции */
.sec { padding: 72px 0; }
.sec--top { padding-top: 28px; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--dark .lead { color: #c9c4bb; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec__head h2 { margin: 0; }
.sec__head--mt { margin-top: 72px; }
.more { font-weight: 600; text-decoration: none; color: var(--stone); white-space: nowrap; }
.more:hover { color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* первый экран */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--tint), #fff); }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero__facts { display: flex; gap: 32px; list-style: none; padding: 0; margin: 40px 0 0; }
.hero__facts b { display: block; font-size: 22px; font-weight: 800; }
.hero__facts span { font-size: 13px; color: var(--muted); }
.hero__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__pics a { background: #fff; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); }
.hero__pics img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.hero__pics a:hover img { transform: scale(1.04); }

/* категории */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat { position: relative; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.cat:hover { border-color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.cat__img { aspect-ratio: 1; background: var(--tint); display: block; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; }
.cat__name { font-weight: 700; padding: 12px 14px 0; }
.cat__count { font-size: 13px; color: var(--muted); padding: 2px 14px 14px; }
.cat--custom { justify-content: center; background: var(--ink); color: #fff; border-color: var(--ink); min-height: 120px; }
.cat--custom .cat__count { color: #c9c4bb; }

/* сетка карточек */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #cfc9be; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.card__img { aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__code { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--stone); text-transform: uppercase; }
.card__title { font-size: 15px; font-weight: 600; margin: 0; }
.card__title a { text-decoration: none; }
.card__size { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.nophoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: repeating-linear-gradient(135deg, var(--tint) 0 12px, #fff 12px 24px); color: var(--muted); text-align: center; padding: 16px; }
.nophoto b { font-size: 28px; color: var(--ink); }
.nophoto small { font-size: 12px; }
.nophoto--big { aspect-ratio: 1; border-radius: var(--r); }
.nophoto--big b { font-size: 56px; }

/* блоки главной */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { border-top: 2px solid var(--ink); padding-top: 18px; }
.feat__n { font-size: 13px; font-weight: 700; color: var(--stone); }
.feat h3 { margin: 8px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); opacity: .8; }
.ticks--sm { font-size: 14px; color: var(--muted); gap: 8px; margin-top: 24px; }
.ticks--sm li::before { width: 12px; height: 7px; top: 6px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.steps li::before { content: "0" counter(s); display: block; font-weight: 800; font-size: 13px; color: var(--stone); margin-bottom: 8px; }
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }
.cta { text-align: center; }
.cta__in { max-width: 760px; }
.cta p { color: var(--muted); font-size: 17px; }
.cta .hero__btns { justify-content: center; }

/* каталог */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.cat-head { margin-bottom: 18px; }
.cat-head h1 { margin-bottom: 6px; }
.filters { position: sticky; top: 73px; z-index: 5; background: #fff; padding: 10px 0 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips--sub { margin-top: 10px; align-items: center; }
.chips__label { font-size: 13px; color: var(--muted); flex: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; background: #fff; }
.chip small { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on small { color: #c9c4bb; }
.chip--sm { height: 32px; font-size: 13px; padding: 0 12px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 32px 0 0; flex-wrap: wrap; }
.pager .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; padding: 0 8px; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 40px 0; color: var(--muted); font-size: 17px; }
.banner { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--tint); border-radius: var(--r); padding: 28px; }
.banner h3 { font-size: 20px; margin-bottom: 4px; }
.banner p { margin: 0; color: var(--muted); }

/* изделие */
.item { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.item__main { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 1; display: grid; place-items: center; }
.item__main img { width: 100%; height: 100%; object-fit: contain; }
.item__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.item__thumbs button { width: 76px; height: 76px; padding: 0; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.item__thumbs button.is-on { border-color: var(--ink); }
.item__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item__info h1 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 6px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 20px 0 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.specs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.item__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.item__text { margin-top: 24px; color: #333; }

/* подвал */
.ftr { background: var(--ink); color: #d8d3ca; padding: 56px 0 24px; }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr__brand img { height: 46px; width: auto; margin-bottom: 14px; }
.ftr__brand p { max-width: 36ch; font-size: 14px; }
.ftr h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__copy { border-top: 1px solid #2c2b29; margin-top: 40px; padding-top: 18px; font-size: 13px; color: #8f8a82; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.fab svg { width: 30px; height: 30px; }

.page__body { font-size: 17px; }

@media (max-width: 1280px) {
  .hdr__nav .menu { gap: 16px; }
  .hdr__search input { width: 150px; }
}
@media (max-width: 1160px) {
  .hdr__phone { display: none; }
}
@media (max-width: 960px) {
  .hdr__in { gap: 12px; min-height: 64px; }
  .hdr__logo img { height: 38px; }
  .hdr__burger { display: block; }
  .hdr__wa span { display: none; }
  .hdr__wa { padding: 0 10px; }
  .hdr__nav { position: fixed; inset: 64px 0 0 0; background: #fff; padding: 24px 16px; transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
  .hdr__nav.is-open { transform: none; }
  .hdr__nav .menu { flex-direction: column; gap: 0; }
  .hdr__nav .menu a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .hdr__navphone { display: block; margin-top: 20px; font-size: 18px; font-weight: 700; }
  .menu-open { overflow: hidden; }
  .filters { top: 65px; }
  .hero__in, .split, .item { grid-template-columns: 1fr; gap: 32px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .fab { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .sec { padding: 48px 0; }
  .sec--top { padding-top: 18px; }
  .hero { padding: 32px 0 48px; }
  .hdr__search { display: none; }
  .hero__facts { gap: 18px; }
  .hero__facts b { font-size: 18px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .feats, .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: 10px; }
  .card__title { font-size: 14px; }
  .card .btn { align-self: stretch; padding: 0 8px; }
  .banner { flex-direction: column; align-items: stretch; padding: 20px; }
  .ftr__in { grid-template-columns: 1fr; }
  .lead { font-size: 16px; }
}

/* поиск с подсказками */
.sform { position: relative; display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); height: 42px; padding: 0 4px 0 12px; background: #fff; }
.sform:focus-within { border-color: var(--ink); }
.sform input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; min-width: 0; background: transparent; }
.sform input::-webkit-search-cancel-button { cursor: pointer; }
.sform button { border: 0; background: none; width: 34px; height: 34px; cursor: pointer; color: var(--muted); flex: none; }
.sform button svg { width: 18px; height: 18px; }
.hdr__search { width: 260px; height: 40px; padding: 0 4px 0 12px; }
.nav__search { display: none; }
.cat-search { max-width: 520px; margin-top: 14px; height: 48px; }
.cat-search input { font-size: 16px; }
.fixnote { margin: 4px 0 0; font-size: 14px; }
.sdrop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 320px; max-height: min(70vh, 520px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 40px rgba(0,0,0,.12); z-index: 80; padding: 6px; }
.hdr__search .sdrop { left: auto; width: 380px; }
.sdrop__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; text-decoration: none; }
.sdrop__item:hover, .sdrop__item.is-on, .sdrop__all.is-on, .sdrop__all:hover { background: var(--tint); }
.sdrop__item img, .sdrop__noimg { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; flex: none; }
.sdrop__noimg { display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--tint); }
.sdrop__txt { display: flex; flex-direction: column; min-width: 0; }
.sdrop__txt b { font-size: 14px; font-weight: 600; }
.sdrop__txt small { font-size: 12px; color: var(--muted); }
.sdrop__all { display: block; padding: 10px 8px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; text-decoration: none; border-radius: 8px; }
.sdrop__fix, .sdrop__empty { padding: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 1280px) { .hdr__search { width: 200px; } }
@media (max-width: 960px) {
  .hdr__search { display: none; }
  .nav__search { display: flex; margin-bottom: 12px; height: 48px; }
  .nav__search input { font-size: 16px; }
  .nav__search .sdrop { position: static; box-shadow: none; margin-top: 8px; min-width: 0; }
}
@media (max-width: 640px) {
  .cat-search { max-width: none; }
  .sdrop { min-width: 0; }
}
