@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jost/jost-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jost/jost-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F;
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jost/jost-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

:root {
  --red: #f71729;
  --dark: #222;
  --muted: #7a7a7a;
  --bg: #eff0f2;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Jost, "Segoe UI", sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.5;
}
a { color: var(--dark); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.page { overflow: hidden; }

.header { background: var(--bg); }
.top_bar { min-height: 106px; font-size: 15px; }
.topbar-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 106px;
  gap: 12px;
}
.logo img, .logo svg { height: 56px; width: auto; display: block; }
.footer-brand img { height: 52px; width: auto; display: block; margin-bottom: 12px; mix-blend-mode: lighten; }
.logo { justify-self: center; }
.top-contacts { color: #222; }
.top-item { margin: 4px 0; }
.top-item a { color: #222; }
.top-phone { text-align: right; justify-self: end; }
.top-phone a { font-size: 19px; font-weight: 700; color: #222; }
.top-phone a span { color: var(--red); }
.top-phone small { display: block; font-size: 15px; }

.ico { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--red); }
.ico-mail { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 4h20v16H2z'/%3E%3Cpath fill='white' d='M2 4l10 8L22 4'/%3E%3C/svg%3E"); }
.ico-pin {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  width: 10px; height: 10px;
}
.ico-phone { border-radius: 3px; }

.navwrap { padding-bottom: 8px; }
.nav-grid {
  display: flex;
  align-items: stretch;
  background: var(--red);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgb(162 162 162 / 10%);
  min-height: 56px;
}
.nav { flex: 1; }
.nav .menu {
  list-style: none;
  margin: 0;
  padding: 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  min-height: 56px;
}
.nav .menu > li > a {
  color: #fff;
  display: block;
  padding: 16px 12px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .02em;
}
.nav .menu > li > a:hover { color: #000; }
.nav .sub {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 240px;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 30;
  border-radius: 0 0 6px 6px;
}
.nav .has-sub { position: relative; }
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: block; }
.nav .sub a { display: block; padding: 7px 16px; color: #222; font-size: 14px; }
.nav .sub a:hover { color: var(--red); }

.call-top-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  padding: 8px 28px 8px 40px;
  border-radius: 0 6px 6px 0;
  position: relative;
  white-space: nowrap;
  margin-left: auto;
}
.call-top-btn strong {
  color: #222;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}
.call-top-btn span { color: #222; opacity: .5; font-size: 13px; }
.plus-clb {
  width: 26px; height: 26px; border-radius: 6px;
  position: absolute; left: 0; top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 0 5px #f71729;
}
.plus-clb:before, .plus-clb:after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
}
.plus-clb:before { width: 12px; height: 2px; }
.plus-clb:after { width: 2px; height: 12px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  margin: 6px;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  display: block; width: 22px; height: 2px; background: #fff; position: relative;
}
.menu-btn span:before, .menu-btn span:after {
  content: ""; position: absolute; left: 0;
}
.menu-btn span:before { top: -7px; }
.menu-btn span:after { top: 7px; }

.hero {
  background: var(--bg);
  padding: 28px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
  align-items: end;
  min-height: 520px;
}
.hero-txt { max-width: 520px; padding-bottom: 48px; }
.hero-kicker {
  text-transform: uppercase;
  font-size: 17px;
  color: var(--red);
  font-weight: 400;
  margin: 0 0 8px;
}
.hero h1 {
  color: #000;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.flag { font-size: 28px; vertical-align: middle; }
.hero p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 12px;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-pills a {
  background: #fff;
  color: #222;
  border-radius: 5px;
  padding: 4px 12px 5px;
  box-shadow: 0 2px 8px rgb(67 29 29 / 5%);
  font-size: 14px;
}
.hero-actions { margin-top: 25px; display: flex; align-items: center; }
.btn-red {
  background: var(--red);
  color: #fff !important;
  border: 0;
  padding: 15px 36px;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  display: inline-block;
}
.btn-red:hover { background: #d51222; color: #fff !important; }
.tb-btn-sep { height: 1px; width: 35px; background: #c9c9c9; margin: 0 20px; }
.link-dash {
  font-size: 19px;
  border-bottom: 1px dashed;
  line-height: 1.2;
}
.hero-photo { align-self: end; }
.hero-photo img { display: block; width: 100%; object-fit: contain; }

.fid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  box-shadow: 0 -8px 24px rgb(0 0 0 / 4%);
  position: relative;
  z-index: 2;
}
.fid-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 28px 24px;
  border-right: 1px solid #f0f0f0;
}
.fid-item:last-child { border-right: 0; }
.fid-ico {
  width: 48px; height: 48px; min-width: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #3a4660;
}
.fid-ico img { width: 40px; height: 40px; }
.fid-item span { color: #888; font-size: 13px; text-transform: uppercase; display: block; }
.fid-item b { display: block; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }

.section { padding: 56px 0; }
.section h2 {
  font-size: 32px;
  margin: 0 0 8px;
}
.section .lead { color: var(--muted); margin: 0 0 28px; max-width: 46rem; }

.cards, .hit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px 20px;
}
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.section-alt { background: #f7f7f7; }
.btn-wide {
  width: auto;
  min-width: 96px;
  padding: 0 12px;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
}
.catalog-item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 10px rgb(43 52 59 / 10%);
  overflow: hidden;
  color: #222;
}
.catalog-item:hover { color: #222; }
.catalog-item-img {
  position: relative;
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #fff;
  padding: 12px 8px 0;
}
.catalog-item-img img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.catalog-item-img.is-placeholder,
.product-gallery.is-placeholder {
  background: #eff0f2;
}
.catalog-item-img.is-placeholder img,
.product-gallery.is-placeholder img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.buy-tag {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 6px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.catalog-item .name {
  display: block;
  text-align: center;
  padding: 14px 12px 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  min-height: 52px;
}
.catalog-item-bar {
  display: flex;
  align-items: stretch;
  margin-top: auto;
}
.price-item { padding: 10px 14px; flex: 1; font-size: 13px; }
.price-item-txt { color: #a4a4a4; display: block; font-size: 12px; }
.catalog-item .price { color: #222; font-weight: 500; display: block; }
.btn-item {
  background: var(--red);
  width: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow {
  background: #fff;
  border-radius: 50%;
  width: 28px; height: 28px;
  display: block;
  position: relative;
  box-shadow: 0 3px 6px rgb(147 123 123 / 50%);
}
.arrow:after {
  content: "";
  position: absolute;
  left: 9px; top: 8px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--red);
  border-top: 2px solid var(--red);
  transform: rotate(45deg);
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { text-align: center; padding: 8px 12px; }
.step .n {
  display: inline-flex;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  border: 1px solid #ececec;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 28px; margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.about-factory {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.about-photo img { width: 100%; display: block; border-radius: 2px; }
.about-txt h2 { margin-top: 0; }
.about-years { font-size: 18px; }
.about-years b { color: var(--red); }
.about-check { list-style: none; padding: 0; margin: 16px 0 0; }
.about-check li { padding: 4px 0 4px 22px; position: relative; }
.about-check li:before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat b { display: block; font-size: 40px; color: #111; font-weight: 700; }
.stat span { color: var(--muted); font-size: 14px; }

.home-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 10px rgb(43 52 59 / 8%);
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table td { border-bottom: 1px solid #eee; padding: 10px 8px; }
.price-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

.reviews { display: grid; gap: 16px; }
blockquote {
  margin: 0;
  background: #f7f7f7;
  padding: 18px 20px;
  border-radius: 6px;
}
blockquote cite { display: block; margin-top: 8px; color: var(--muted); }

.title-block { background: var(--bg); padding: 28px 0 18px; }
.title-block h1 { margin: 0; font-size: 32px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 14px;
  color: #8a8a8a;
}
.crumbs a { color: #8a8a8a; }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--red); }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.pills a {
  display: block;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgb(67 29 29 / 4%);
}
.content { padding: 28px 0 48px; }
.prose { max-width: 50rem; }
.list { columns: 2; gap: 24px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pager a, .pager span { padding: 6px 10px; border: 1px solid #ddd; }
.pager span { background: var(--red); color: #fff; border-color: var(--red); }
.flash { background: #e8f6e8; border: 1px solid #b7e0b7; padding: 12px 16px; margin: 12px auto; }
.flash-error { background: #fdecec; border-color: #f5c2c2; color: #a10; }
.related { margin: 48px 0 8px; }
.related h2 { margin: 0 0 20px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery {
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 12px;
}
.product-gallery img { max-height: 520px; width: auto; object-fit: contain; }
.price-kicker { color: var(--red); margin: 0 0 4px; font-weight: 600; font-size: 15px; }
.product .price { color: #222; font-size: 32px; font-weight: 700; margin: 0 0 16px; }
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  background: #f4f5f7;
  padding: 12px 16px;
  border-radius: 6px;
  list-style: none;
  margin: 0 0 20px;
  font-size: 13px;
}
.benefits li { position: relative; padding-left: 18px; }
.benefits li:before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.props { width: 100%; border-collapse: collapse; margin-top: 16px; }
.props th, .props td { border-bottom: 1px solid #eee; padding: 8px; text-align: left; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 22px 24px;
  position: relative;
  z-index: 2;
  margin-bottom: -28px;
}
.contact-card { display: flex; gap: 14px; align-items: center; }
.contact-card b { display: block; }
.contact-card a, .contact-card span { color: #555; }
.contact-ico {
  width: 56px; height: 56px; min-width: 56px;
  border: 2px solid var(--red);
  border-radius: 50%;
}
.contacts-map { width: 100%; overflow: hidden; }
.contacts-map img { width: 100%; display: block; }
.contacts-form { max-width: 920px; margin: 36px auto 0; }
.finish-grid, .works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.finish-item, .work-item {
  margin: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 10px rgb(43 52 59 / 8%);
}
.finish-item img, .work-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.finish-item span, .work-item figcaption { display: block; padding: 10px 12px; font-size: 14px; }

.site-footer {
  background: #1b1b1b;
  color: #ddd;
  padding: 48px 0 0;
  font-size: 14px;
}
.site-footer a { color: #fff; }
.footer-brand {
  display: inline-block;
  color: #fff;
  margin-bottom: 10px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; padding-bottom: 32px; }
.site-footer h3 { color: #fff; font-size: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.plain { list-style: none; padding: 0; }
.copyright {
  border-top: 1px solid #333;
  text-align: center;
  padding: 16px;
  color: #aaa;
  font-size: 13px;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup.is-open { display: flex; }
.popup-card {
  background: #fff;
  width: min(920px, 100%);
  padding: 32px 28px 24px;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}
.popup-close {
  position: absolute; right: 12px; top: 8px;
  border: 0; background: none; font-size: 28px; cursor: pointer; color: #888;
}
.popup-form { display: grid; gap: 12px; }
.popup-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.popup-form input, .popup-form textarea {
  width: 100%;
  padding: 14px 12px;
  border: 0;
  background: #f4f5f7;
  font: inherit;
}
.popup-form .btn-red {
  justify-self: center;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  min-width: 260px;
}
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; justify-content: center; }
.check input { width: auto; margin-top: 3px; }
.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.cat-aside {
  background: #fff;
  border: 1px solid #ececec;
  padding: 18px 16px 20px;
  position: sticky;
  top: 12px;
}
.cat-aside h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.cat-tree { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.cat-tree > li > a { display: block; padding: 7px 0; border-bottom: 1px solid #f3f3f3; }
.cat-tree ul { list-style: none; margin: 0; padding: 4px 0 10px 12px; }
.cat-tree ul a { display: block; padding: 4px 0; color: #555; font-size: 13px; }
.cat-tree .is-open > a, .cat-tree .active > a { color: var(--red); font-weight: 600; }
.cat-aside-cta {
  width: 100%;
  text-align: center;
  margin-top: 16px;
  box-sizing: border-box;
  padding: 12px 10px;
  font-size: 13px;
}
.product-extra, .product-interior { margin-top: 40px; }
.product-extra h2 { font-size: 28px; margin: 0 0 16px; }
.product-interior img { width: 100%; display: block; }

.form-wrap { display: grid; gap: 12px; }
.form-error { color: var(--red); text-align: center; margin: 0; }
.error-msg { color: var(--red); text-align: center; margin: 0; }
.success-msg { display: none; text-align: center; padding: 24px 0; font-size: 18px; }
.success-msg span { font-size: 15px; color: #555; }
form.form-success .form-wrap { display: none; }
form.form-success .success-msg { display: block; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 980px) {
  .topbar-grid, .hero-grid, .fid, .steps, .footer-grid, .product, .popup-row, .contact-cards, .about-factory, .catalog-layout { grid-template-columns: 1fr; }
  .cat-aside { position: static; }
  .stats, .cols-4, .home-gallery { grid-template-columns: 1fr 1fr; }
  .top-contacts { display: none; }
  .list { columns: 1; }
  .hero h1 { font-size: 30px; }
  .menu-btn { display: block; }
  .nav { display: none; }
  body.nav-open .nav { display: block; }
  .nav .menu { flex-direction: column; align-items: stretch; }
  .nav .sub { position: static; display: block; background: transparent; box-shadow: none; }
  .nav .sub a { color: #fff; }
  .call-top-btn span { display: none; }
}
/* ===== Design polish v10 — match Восход slices ===== */

:root {
  --red: #f71729;
  --red-deep: #d51222;
  --dark: #1c1c1c;
  --muted: #7a7a7a;
  --bg: #eff0f2;
  --bg-soft: #f7f7f7;
  --line: #ececec;
  --shadow: 0 0 10px rgb(43 52 59 / 10%);
  --shadow-hover: 0 14px 34px rgb(43 52 59 / 16%);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

body {
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(247, 23, 41, .06), transparent 60%),
    radial-gradient(900px 380px at -10% 20%, rgba(34, 34, 34, .04), transparent 55%),
    #fff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 240, 242, .96);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled {
  box-shadow: 0 8px 24px rgb(0 0 0 / 8%);
}

.nav .menu > li.active > a,
.nav .menu > li > a[aria-current="page"] {
  color: #111;
}

.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 48%;
  height: 70%;
  background: radial-gradient(circle at 40% 40%, rgba(247, 23, 41, .08), transparent 68%);
  pointer-events: none;
}
.hero-txt {
  animation: rise .7s var(--ease) both;
}
.hero-photo {
  animation: rise .85s .08s var(--ease) both;
}
.hero-photo img {
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .12));
  transition: transform .5s var(--ease);
}
.hero-photo:hover img {
  transform: translateY(-6px) scale(1.01);
}
.hero-pills a {
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.hero-pills a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(67 29 29 / 10%);
  color: var(--red);
}
.btn-red {
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  box-shadow: 0 8px 18px rgb(247 23 41 / 22%);
}
.btn-red:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgb(247 23 41 / 28%);
}
.link-dash {
  transition: color .2s, border-color .2s;
}

.fid {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(0 0 0 / 5%);
}
.fid-item {
  transition: background .25s;
}
.fid-item:hover {
  background: #fafafa;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.section-head h2 {
  margin: 0;
}
.hits-nav {
  display: flex;
  gap: 8px;
}
.hits-prev,
.hits-next {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
}
.hits-prev::before,
.hits-next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #222;
  border-top: 2px solid #222;
  transform: translate(-40%, -50%) rotate(45deg);
}
.hits-prev::before {
  transform: translate(-20%, -50%) rotate(-135deg);
}
.hits-prev:hover,
.hits-next:hover {
  color: var(--red);
}
.hits-viewport {
  overflow: hidden;
  margin: 18px -6px 0;
  padding: 6px;
}
.hits-track {
  display: flex;
  gap: 20px;
  transition: transform .45s var(--ease);
  will-change: transform;
}
.hits-slide {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
}
.hits-progress {
  height: 3px;
  background: #e6e6e6;
  border-radius: 99px;
  margin: 22px auto 0;
  max-width: 180px;
  overflow: hidden;
}
.hits-progress span {
  display: block;
  height: 100%;
  width: 35%;
  background: var(--red);
  border-radius: inherit;
  transition: transform .45s var(--ease), width .45s var(--ease);
  transform-origin: left center;
}

.catalog-item {
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.catalog-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: #222;
}
.buy-tag {
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  transform: translate(-50%, 8px);
}
.catalog-item:hover .buy-tag {
  opacity: 1;
  transform: translate(-50%, 0);
}
.catalog-item-img img {
  transition: transform .35s var(--ease);
}
.catalog-item:hover .catalog-item-img img {
  transform: scale(1.03);
}
.btn-item {
  transition: background .2s;
}
.catalog-item:hover .btn-item {
  background: var(--red-deep);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  color: #666;
}
.sort-link {
  color: #222;
  border-bottom: 1px dashed transparent;
}
.sort-link:hover,
.sort-link.is-active {
  color: var(--red);
  border-bottom-color: currentColor;
}

.title-block {
  background:
    linear-gradient(180deg, rgba(239, 240, 242, 1), rgba(239, 240, 242, .92)),
    var(--bg);
}
.pills a {
  transition: transform .2s, border-color .2s, color .2s;
}
.pills a:hover {
  transform: translateY(-1px);
  border-color: #f3b0b5;
  color: var(--red);
}

.product-gallery {
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s;
}
.product-gallery:hover {
  box-shadow: var(--shadow-hover);
}
.product .price {
  letter-spacing: -.02em;
}

.popup {
  backdrop-filter: blur(2px);
  animation: none;
}
.popup.is-open {
  animation: fade .2s ease both;
}
.popup-card {
  border-radius: 8px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 25%);
  animation: rise .28s var(--ease) both;
}

.site-footer {
  background:
    linear-gradient(180deg, #222 0%, #151515 100%);
}
.site-footer a {
  transition: color .2s;
}
.site-footer a:hover {
  color: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1100px) {
  .hits-slide { flex-basis: calc(33.333% - 14px); }
}
@media (max-width: 980px) {
  .header { position: static; }
  .hits-slide { flex-basis: calc(50% - 10px); }
  .section-head { align-items: flex-start; }
  .hero-photo img { filter: none; }
}
@media (max-width: 640px) {
  .hits-slide { flex-basis: 86%; }
  .hits-nav { display: none; }
  .fid-item { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Product card page ===== */
.product-card-page {
  grid-template-columns: 1.05fr 1fr;
  gap: 36px 48px;
  align-items: start;
}
.product-gallery-col {
  position: sticky;
  top: 96px;
}
.product-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.product-side {
  margin: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgb(43 52 59 / 10%);
  padding: 14px 12px 10px;
  text-align: center;
}
.product-side img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.product-side figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}
.product-side.is-placeholder {
  background: #eff0f2;
}
.product-cta-wrap {
  margin: 22px 0 0;
  text-align: center;
}
.product-cta-wrap .btn-red {
  min-width: 280px;
}
.product-price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.price-note {
  margin: 4px 0 0;
  color: #8a8a8a;
  font-size: 14px;
}
.share-btn {
  border: 1px solid #e2e2e2;
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: #444;
  white-space: nowrap;
}
.share-btn:hover {
  border-color: #f3b0b5;
  color: var(--red);
}
.product-card-page .benefits {
  margin-top: 18px;
}
.lock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 8px;
}
.lock-card {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 14px 16px;
}
.lock-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.lock-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #444;
}
.lock-card li {
  margin: 4px 0;
}
.lock-card li span {
  color: #888;
}
.finish-blocks {
  display: grid;
  gap: 18px;
  margin: 20px 0;
}
.finish-block h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.finish-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.swatch {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
}
.swatch.is-active,
.swatch:hover {
  border-color: var(--red);
}
.finish-all {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  border-bottom: 1px dashed;
}
.product-card-page .props {
  margin-top: 8px;
}
.product-card-page .prose {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .product-card-page,
  .product-sides,
  .lock-grid {
    grid-template-columns: 1fr;
  }
  .product-gallery-col {
    position: static;
  }
  .product-cta-wrap .btn-red {
    width: 100%;
    min-width: 0;
  }
}
