/* Мебель для бизнеса (HoReCa) — лендинг /business/
   Блоки формы и попапа «Узнать цену» используются также в каталоге /catalog/b2b.html */

.b2b {
  --b2b-primary: #4a062a;
  --b2b-text: #2e2a26;
  --b2b-text-alt: #302a27;
  --b2b-muted: #6b6259;
  --b2b-border: #f0ede8;
  --b2b-line: #e4dfd9;
  --b2b-accent-border: #e3d0d9;
  --b2b-field: #ded9d2;
  --b2b-soft: #f6f5f3;
  --b2b-dark: #28231f;
  --b2b-gradient: linear-gradient(175deg, #6b1a4a 8.5%, #4a062a 50%, #3a0520 91.5%);

  background: #f9f9f9;
  color: var(--b2b-text);
  font-family: "Verdana Pro", Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
  padding: 24px 0 80px;
}

.b2b *,
.b2b *::before,
.b2b *::after {
  box-sizing: border-box;
}

.b2b-wrap {
  max-width: 1904px;
  margin: 0 auto;
  padding: 0 67px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.b2b img {
  display: block;
  max-width: 100%;
}

.b2b h1,
.b2b h2,
.b2b h3,
.b2b p,
.b2b ul,
.b2b figure {
  margin: 0;
  padding: 0;
}

.b2b-h2 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-sub {
  font-size: 14px;
  line-height: 20px;
  color: var(--b2b-muted);
}

.b2b-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--b2b-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Кнопки */

.b2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--b2b-primary);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}

.b2b-btn:hover {
  background-color: #6b1a4a;
  color: #fff;
  text-decoration: none;
}

.b2b-btn--gradient {
  background: var(--b2b-gradient);
}

.b2b-btn--gradient:hover {
  background: var(--b2b-gradient);
  opacity: .9;
}

.b2b-btn--white {
  height: 52px;
  padding: 0 28px;
  background: #fff;
  color: var(--b2b-primary);
  font-size: 15px;
}

.b2b-btn--white:hover {
  background: #f3eef0;
  color: var(--b2b-primary);
}

.b2b-btn--ghost {
  height: 52px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .85);
  background: transparent;
  font-size: 15px;
}

.b2b-btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.b2b-btn--outline {
  flex: 0 0 auto;
  height: 50px;
  padding: 0 32px;
  border: 1px solid var(--b2b-primary);
  background: #fff;
  color: var(--b2b-primary);
  font-weight: 600;
}

.b2b-btn--outline:hover {
  background: var(--b2b-primary);
  color: #fff;
}

.b2b-btn--wide {
  height: 54px;
  min-width: 312px;
  font-size: 16px;
}

/* Хлебные крошки */

.b2b-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  font-size: 12px;
  line-height: 16px;
  color: var(--b2b-muted);
  margin-bottom: -32px !important;
}

.b2b-breadcrumbs li + li::before {
  content: "/";
  padding: 0 8px;
}

.b2b-breadcrumbs a {
  color: var(--b2b-muted);
  text-decoration: none;
}

.b2b-breadcrumbs a:hover {
  text-decoration: underline;
}

/* Hero */

.b2b-hero {
  position: relative;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
}

.b2b-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.b2b-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 13, .72) 0%, rgba(20, 16, 13, .45) 45%, rgba(20, 16, 13, .15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%);
}

.b2b-hero__logo {
  position: absolute;
  top: 40px;
  left: 80px;
  width: 394px;
  height: 52px;
  overflow: hidden;
}

.b2b-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.b2b-hero__content {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.b2b-hero__title {
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  color: #fff;
}

.b2b-hero__text {
  max-width: 760px;
  margin-top: 22px !important;
  font-size: 17px;
  line-height: 25px;
  color: #fff;
}

.b2b-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Цифры */

.b2b-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 0;
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-accent-border);
  border-radius: 10px;
}

.b2b-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px 0 40px;
}

.b2b-stat + .b2b-stat {
  border-left: 1px solid var(--b2b-line);
  padding-left: 24px;
}

.b2b-stat__value {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  color: var(--b2b-primary);
}

.b2b-stat__label {
  font-size: 13px;
  line-height: 18px;
  color: var(--b2b-muted);
}

/* Товарный ряд */

.b2b-products {
  display: flex;
  flex-direction: column;
}

.b2b-tabs {
  display: flex;
  gap: 44px;
  margin-top: 22px;
  border-bottom: 1px solid var(--b2b-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.b2b-tabs::-webkit-scrollbar {
  display: none;
}

.b2b-tabs__btn {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 0 14px;
  border: 0;
  background: none;
  color: var(--b2b-muted);
  font-family: inherit;
  font-size: 20px;
  line-height: 26px;
  cursor: pointer;
}

.b2b-tabs__btn:hover {
  color: var(--b2b-text);
}

.b2b-tabs__btn.is-active {
  color: var(--b2b-primary);
  font-weight: 600;
}

.b2b-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: var(--b2b-primary);
}

.b2b-products__track {
  display: flex;
  gap: 17px;
  margin: 0 -67px;
  padding: 24px 67px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 67px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.b2b-products__track[hidden] {
  display: none;
}

.b2b-products__track::-webkit-scrollbar {
  display: none;
}

.b2b-products__track > .itemBlock {
  position: relative;
  flex: 0 0 calc((100% - 4 * 17px) / 5);
  min-width: 240px;
  border-radius: 10px;
  scroll-snap-align: start;
}

.b2b-products__track > .itemBlock .img {
  width: 100%;
  height: auto;
}

/* На лендинге не показываем лейблы и кнопку «Получить скидку» */
.b2b-products__track > .itemBlock .ico,
.b2b-products__track > .itemBlock .getDiscount {
  display: none !important;
}

.b2b-products__track > .itemBlock .content .row {
  align-items: center;
}

.b2b-products__track > .itemBlock .b2bAskPrice {
  padding: 2px 13px;
  font-size: 11px;
}

/* Статус наличия — плашкой в левом верхнем углу фото (позиционируется от .itemBlock) */
.b2b-products__track > .itemBlock .content .store-holder {
  position: static;
}

.b2b-products__track > .itemBlock .content .store-holder::after,
.b2b-products__track > .itemBlock .content .drop-address {
  display: none !important;
}

.b2b-products__track > .itemBlock .content .store-holder .st {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 5;
  padding: 7px 14px;
  border-radius: 6px;
  background: var(--b2b-primary);
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: none;
}

.b2b-products__track > .itemBlock .content .store-holder .st.hasPopup {
  padding-right: 14px;
  background-image: none;
}

.b2b-products__track > .itemBlock .content .store-holder .st:empty,
.b2b-products__track > .itemBlock .content .store-holder .st[data-st=""] {
  display: none;
}

.b2b-products__track > .itemBlock .content .store-holder .st:not([data-st="В наличии"]) {
  border: 1px solid var(--b2b-primary);
  background: #fff;
  color: var(--b2b-primary);
}

.b2b-products__foot {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

/* Наличие на складе */

.b2b-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: -20px;
  padding: 30px 36px;
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-accent-border);
  border-radius: 10px;
}

.b2b-banner__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-banner__text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 20px;
  color: var(--b2b-muted);
}

/* Преимущества */

.b2b-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--b2b-line);
  border-bottom: 1px solid var(--b2b-line);
}

.b2b-feature .b2b-icon {
  margin-bottom: 18px;
}

.b2b-feature__title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-feature__text {
  margin-top: 2px;
  font-size: 14px;
  line-height: 20px;
  color: var(--b2b-muted);
}

/* Ткани */

.b2b-fabrics {
  padding: 40px 40px 36px;
  background: #fff;
  border-radius: 14px;
}

.b2b-fabrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.b2b-fabric {
  padding-right: 32px;
}

.b2b-fabric + .b2b-fabric {
  padding-left: 32px;
  border-left: 1px solid var(--b2b-line);
}

.b2b-fabric__value {
  font-size: 38px;
  line-height: 46px;
  font-weight: 600;
  color: var(--b2b-primary);
}

.b2b-fabric__label {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--b2b-muted);
}

/* Кастомизация */

.b2b-custom {
  display: grid;
  grid-template-columns: 720fr 1008fr;
  gap: 42px;
  min-height: 430px;
}

.b2b-custom__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 34px;
  background: #fff;
  border-radius: 8px;
}

.b2b-custom__lead {
  margin-top: 18px !important;
  font-size: 15px;
  line-height: 22px;
  color: var(--b2b-muted);
}

.b2b-custom__nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  width: 100%;
}

.b2b-custom__num {
  padding-right: 32px;
}

.b2b-custom__num + .b2b-custom__num {
  padding-left: 32px;
  border-left: 1px solid var(--b2b-line);
}

.b2b-custom__value {
  font-size: 46px;
  line-height: 54px;
  font-weight: 600;
  color: var(--b2b-primary);
}

.b2b-custom__label {
  margin-top: 4px;
  font-size: 13px;
  line-height: 17px;
  color: var(--b2b-text);
}

.b2b-custom__note {
  margin-top: 46px !important;
  font-size: 15px;
  line-height: 22px;
  color: var(--b2b-muted);
}

.b2b-custom__btn {
  min-width: 288px;
  margin-top: 40px;
}

.b2b-custom__img {
  position: relative;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.b2b-custom__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Карточки: «Комплектуем» и «Светильники, аксессуары и декор» */

.b2b-zones,
.b2b-decor {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.b2b-zones__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.b2b-decor__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.b2b-decor__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.b2b-decor__foot {
  display: flex;
  justify-content: center;
  margin-top: 2px;
}

.b2b-decor__foot .b2b-btn {
  min-width: 286px;
}

.b2b-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

a.b2b-card:hover {
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(40, 35, 31, .08);
}

.b2b-card__img {
  height: 240px;
  overflow: hidden;
}

.b2b-decor .b2b-card__img {
  height: auto;
  aspect-ratio: 1144 / 620;
}

.b2b-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

a.b2b-card:hover .b2b-card__img img {
  transform: scale(1.03);
}

.b2b-zone__pic--restaurant { object-position: 50% 60%; }
.b2b-zone__pic--bar        { object-position: 50% 55%; }
.b2b-zone__pic--lobby      { object-position: 50% 70%; }
.b2b-zone__pic--rooms      { object-position: 50% 70%; }

.b2b-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
}

.b2b-card__title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-card__text {
  font-size: 14px;
  line-height: 18px;
  color: var(--b2b-muted);
}

/* Услуги */

.b2b-services {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b2b-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.b2b-service {
  padding-top: 26px;
  border-top: 1px solid var(--b2b-line);
}

.b2b-service .b2b-icon {
  margin-bottom: 12px;
}

.b2b-service__title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-service__text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 18px;
  color: var(--b2b-muted);
}

/* Для дизайнеров и архитекторов */

.b2b-pro {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 48px;
  padding: 48px;
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-accent-border);
  border-radius: 10px;
}

.b2b-pro__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.b2b-pro__intro .b2b-h2 {
  max-width: 420px;
}

.b2b-pro__text {
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 20px;
  color: var(--b2b-muted);
}

.b2b-pro__btn {
  min-width: 360px;
  margin-top: 28px;
}

.b2b-pro__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.b2b-pro__list ul {
  list-style: none;
}

.b2b-pro__list li {
  padding: 18px 0;
  border-top: 1px solid var(--b2b-accent-border);
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-pro__note {
  grid-column: 1 / -1;
  margin-top: 6px !important;
  font-size: 13px;
  line-height: 18px;
  color: var(--b2b-muted);
}

/* Выставки */

.b2b-expo {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px;
  background: #fff;
  border-radius: 14px;
}

.b2b-expo__top {
  display: grid;
  grid-template-columns: 436px 1fr;
  gap: 40px;
}

.b2b-expo__name {
  margin-top: 16px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
}

.b2b-expo__date {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--b2b-muted);
}

.b2b-expo__text {
  margin-top: 14px !important;
  font-size: 15px;
  line-height: 18px;
  color: var(--b2b-text);
}

.b2b-expo__nums {
  display: flex;
  gap: 32px;
  margin-top: 20px;
}

.b2b-expo__value {
  font-size: 34px;
  line-height: 40px;
  font-weight: 600;
  color: var(--b2b-primary);
}

.b2b-expo__label {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: var(--b2b-muted);
}

.b2b-expo__videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.b2b-video figcaption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.b2b-video__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-video__text {
  font-size: 13px;
  line-height: 18px;
  color: var(--b2b-muted);
}

.b2b-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #1e1a17;
}

.b2b-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b2b-video__frame.is-playing video {
  object-fit: contain;
}

.b2b-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: transform .2s;
}

.b2b-video__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -7px;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent var(--b2b-primary);
}

.b2b-video__play:hover {
  transform: scale(1.08);
}

.b2b-video__frame.is-playing .b2b-video__play {
  display: none;
}

.b2b-expo__events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.b2b-event {
  padding: 26px 28px;
  background: #f9f8f6;
  border: 1px solid var(--b2b-accent-border);
  border-radius: 10px;
}

.b2b-event__date {
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  color: var(--b2b-primary);
}

.b2b-event__name {
  margin-top: 4px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
}

.b2b-event__place {
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--b2b-muted);
}

/* Частые вопросы */

.b2b-faq__kicker {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 16px;
  color: var(--b2b-muted);
}

.b2b-faq__list {
  margin-top: 22px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.b2b-faq__item + .b2b-faq__item {
  border-top: 1px solid var(--b2b-line);
}

.b2b-faq__item summary {
  position: relative;
  display: block;
  padding: 20px 64px 20px 28px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--b2b-text);
  list-style: none;
  cursor: pointer;
}

.b2b-faq__item summary::-webkit-details-marker {
  display: none;
}

.b2b-faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 34px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--b2b-text);
  border-bottom: 1.5px solid var(--b2b-text);
  transform: rotate(45deg);
  transition: transform .2s, margin-top .2s;
}

.b2b-faq__item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.b2b-faq__item summary:hover {
  color: var(--b2b-primary);
}

.b2b-faq__item p {
  margin-top: -10px !important;
  padding: 0 64px 22px 28px;
  font-size: 14px;
  line-height: 20px;
  color: var(--b2b-muted);
}

/* Контакты и форма */

.b2b-contact {
  display: flex;
  min-height: 552px;
  border-radius: 8px;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.b2b-contact__info {
  flex: 0 0 34.5%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 46px 42px 44px;
  background: var(--b2b-dark);
  color: #fff;
}

.b2b-contact__info a {
  color: inherit;
  text-decoration: none;
}

.b2b-contact__info a:hover {
  text-decoration: underline;
}

.b2b-contact__title {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  color: #fff;
}

.b2b-contact__text {
  font-size: 14px;
  line-height: 20px;
  color: #e4e0da;
}

.b2b-contact__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
  font-size: 14px;
  line-height: 20px;
}

.b2b-contact__mail {
  font-size: 14px;
  line-height: 20px;
}

.b2b-contact__regions {
  font-size: 12px;
  line-height: 16px;
  color: #c2bcb5;
}

.b2b-contact__img {
  flex: 1 1 209px;
  min-height: 209px;
  border-radius: 14px;
  overflow: hidden;
}

.b2b-contact__img picture,
.b2b-contact__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 63%;
}

.b2b-form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 38px 38px 34px;
  background: #fff;
}

.b2b-form__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.b2b-form__title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: var(--b2b-text);
}

.b2b-form__hint {
  font-size: 12px;
  line-height: 16px;
  color: var(--b2b-muted);
}

.b2b-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.b2b-input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 15px;
  border: 1px solid var(--b2b-field);
  border-radius: 10px;
  background: #fff;
  color: var(--b2b-text);
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}

.b2b-input::placeholder {
  color: var(--b2b-muted);
  opacity: 1;
}

.b2b-input:focus {
  border-color: var(--b2b-primary);
}

.b2b-input.is-error {
  border-color: #d60000;
}

.b2b-input--area {
  height: 80px;
  padding: 31px 15px 10px;
  resize: vertical;
}

.b2b-input--area:focus,
.b2b-input--area:not(:placeholder-shown) {
  padding-top: 12px;
}

.b2b-form__consents {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 14px;
}

.b2b-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 16px;
  color: var(--b2b-muted);
  text-decoration: underline;
  cursor: pointer;
}

.b2b-check a {
  color: inherit;
}

.b2b-check input[type="checkbox"] {
  position: static;
  left: auto;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--b2b-field);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  accent-color: var(--b2b-primary);
}

.b2b-check.is-error {
  color: #d60000;
}

.b2b-form__message {
  width: 100%;
  margin-top: 20px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 18px;
}

.b2b-form__message--error {
  background: #fdeeee;
  color: #b00000;
}

.b2b-form__message--success {
  background: #eef6ee;
  color: #1f6b2a;
}

.b2b-form__submit {
  width: 220px;
  height: 48px;
  margin-top: 34px;
}

.b2b-form__submit[disabled] {
  opacity: .6;
  cursor: default;
}

/* Попап «Узнать цену» */

html.b2b-popup-open {
  overflow: hidden;
}

.b2b-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.b2b-popup[hidden] {
  display: none;
}

.b2b-popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 35, 31, .5);
}

.b2b-popup__dialog {
  position: relative;
  width: 1160px;
  max-width: 100%;
  margin: auto;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.b2b-popup__close {
  position: absolute;
  top: 19px;
  right: 21px;
  z-index: 1;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}

.b2b-form--popup {
  padding: 70px 38px;
}

.b2b-form--popup .b2b-form__title {
  margin-bottom: -6px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
}

.b2b-form--popup .b2b-form__hint {
  margin-bottom: -4px;
  font-size: 13.5px;
  line-height: 22px;
}

.b2b-form--popup .b2b-form__hint-tail {
  display: none;
}

.b2b-form--popup .b2b-check {
  align-items: center;
  min-height: 20px;
}

.b2bAskPrice {
  font-family: inherit;
  cursor: pointer;
}

/* Планшет */

@media (max-width: 1279px) {
  .b2b-wrap {
    padding: 0 32px;
  }

  .b2b-products__track {
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
    scroll-padding: 0 32px;
  }

  .b2b-products__track > .itemBlock {
    flex-basis: 260px;
  }

  .b2b-hero__logo {
    left: 48px;
  }

  .b2b-hero__content {
    left: 40px;
    right: 40px;
    bottom: 56px;
  }

  .b2b-hero__title {
    font-size: 36px;
    line-height: 44px;
  }

  .b2b-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .b2b-stat:nth-child(3) {
    border-left: 0;
    padding-left: 40px;
  }

  .b2b-features {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .b2b-fabric__value {
    font-size: 28px;
    line-height: 36px;
  }

  .b2b-custom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .b2b-custom__img {
    height: 380px;
  }

  .b2b-zones__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-decor__grid {
    gap: 14px;
  }

  .b2b-services__grid {
    gap: 24px;
  }

  .b2b-pro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .b2b-expo__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .b2b-contact {
    flex-direction: column;
  }

  .b2b-contact__img {
    flex-basis: 260px;
  }
}

/* Мобильная версия */

@media (max-width: 767px) {
  .b2b {
    padding: 16px 0 56px;
  }

  .b2b-wrap {
    padding: 0 16px;
    gap: 40px;
  }

  .b2b-breadcrumbs {
    margin-bottom: -26px !important;
  }

  .b2b-h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .b2b-sub {
    line-height: 22px;
  }

  /* Hero */

  .b2b-hero {
    height: 460px;
    border-radius: 8px;
  }

  .b2b-hero__bg {
    object-position: 68% 50%;
  }

  .b2b-hero__shade {
    background:
      linear-gradient(180deg, rgba(20, 16, 13, .45) 0%, rgba(20, 16, 13, .35) 40%, rgba(20, 16, 13, .8) 100%);
  }

  .b2b-hero__logo {
    top: 22px;
    left: 20px;
    width: 220px;
    height: 29px;
  }

  .b2b-hero__content {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }

  .b2b-hero__title {
    font-size: 26px;
    line-height: 32px;
  }

  .b2b-hero__text {
    margin-top: 12px !important;
    font-size: 14px;
    line-height: 21px;
  }

  .b2b-hero__btns {
    flex-direction: column;
    align-self: stretch;
    gap: 10px;
    margin-top: 18px;
  }

  .b2b-hero__btns .b2b-btn {
    height: 48px;
    width: 100%;
  }

  /* Цифры */

  .b2b-stats {
    padding: 20px 0;
    row-gap: 18px;
  }

  .b2b-stat,
  .b2b-stat + .b2b-stat,
  .b2b-stat:nth-child(3) {
    padding: 0 12px 0 18px;
  }

  .b2b-stat:nth-child(odd) {
    border-left: 0;
  }

  .b2b-stat__value {
    font-size: 18px;
    line-height: 24px;
  }

  .b2b-stat__label {
    font-size: 14px;
    line-height: 19px;
  }

  /* Товарный ряд */

  .b2b-tabs {
    gap: 24px;
    margin: 14px -16px 0;
    padding: 0 16px;
  }

  .b2b-tabs__btn {
    font-size: 16px;
    line-height: 22px;
  }

  .b2b-products__track {
    gap: 12px;
    margin: 0 -16px;
    padding: 16px 16px 16px;
    scroll-padding: 0 16px;
  }

  .b2b-products__track > .itemBlock {
    flex-basis: 46%;
    min-width: 160px;
  }

  .b2b-btn--wide {
    width: 100%;
    min-width: 0;
    height: 50px;
    font-size: 15px;
  }

  /* Наличие */

  .b2b-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: -16px;
    padding: 20px 18px;
  }

  .b2b-banner__title {
    font-size: 18px;
    line-height: 24px;
  }

  .b2b-banner__text {
    font-size: 14px;
  }

  /* Преимущества */

  .b2b-features {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
    padding: 24px 0;
  }

  .b2b-feature .b2b-icon {
    margin-bottom: 10px;
  }

  .b2b-feature__title {
    font-size: 14px;
    line-height: 19px;
  }

  /* Ткани */

  .b2b-fabrics {
    padding: 22px 18px;
  }

  .b2b-fabrics__grid {
    grid-template-columns: 1fr;
    margin-top: 6px;
  }

  .b2b-fabric,
  .b2b-fabric + .b2b-fabric {
    padding: 16px 0;
    border-left: 0;
  }

  .b2b-fabric + .b2b-fabric {
    border-top: 1px solid var(--b2b-line);
  }

  .b2b-fabric__value {
    font-size: 24px;
    line-height: 30px;
  }

  .b2b-fabric__label {
    margin-top: 4px;
  }

  /* Кастомизация */

  .b2b-custom__card {
    padding: 22px 18px;
  }

  .b2b-custom__lead,
  .b2b-custom__note {
    font-size: 14px;
  }

  .b2b-custom__num {
    padding-right: 14px;
  }

  .b2b-custom__num + .b2b-custom__num {
    padding-left: 14px;
  }

  .b2b-custom__value {
    font-size: 34px;
    line-height: 42px;
  }

  .b2b-custom__label {
    font-size: 14px;
    line-height: 19px;
  }

  .b2b-custom__note {
    margin-top: 22px !important;
  }

  .b2b-custom__btn {
    width: 100%;
    min-width: 0;
    margin-top: 22px;
  }

  .b2b-custom__img {
    height: 230px;
    min-height: 0;
  }

  /* Карточки */

  .b2b-zones__grid,
  .b2b-decor__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .b2b-card__img {
    height: 210px;
  }

  .b2b-card__body {
    gap: 8px;
    padding: 16px 18px 18px;
  }

  .b2b-decor__foot .b2b-btn {
    width: 100%;
    min-width: 0;
  }

  /* Услуги */

  .b2b-services__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .b2b-service {
    padding: 20px 0;
  }

  /* Дизайнерам */

  .b2b-pro {
    gap: 20px;
    padding: 22px 18px;
  }

  .b2b-pro__btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    height: auto;
    min-height: 48px;
    padding: 12px 16px;
  }

  .b2b-pro__list {
    grid-template-columns: 1fr;
  }

  .b2b-pro__list li {
    padding: 14px 0;
    font-size: 15px;
  }

  .b2b-pro__list ul + ul li:first-child {
    border-top: 1px solid var(--b2b-accent-border);
  }

  .b2b-pro__note {
    font-size: 14px;
  }

  /* Выставки */

  .b2b-expo {
    padding: 22px 18px;
  }

  .b2b-expo__text {
    font-size: 14px;
    line-height: 20px;
  }

  .b2b-expo__value {
    font-size: 28px;
    line-height: 34px;
  }

  .b2b-expo__videos,
  .b2b-expo__events {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .b2b-video__play {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
  }

  .b2b-event {
    padding: 18px;
  }

  .b2b-event__date {
    font-size: 22px;
    line-height: 28px;
  }

  /* FAQ */

  .b2b-faq__item summary {
    padding: 16px 48px 16px 18px;
    font-size: 15px;
  }

  .b2b-faq__item summary::after {
    right: 22px;
  }

  .b2b-faq__item p {
    margin-top: -6px !important;
    padding: 0 18px 18px;
  }

  /* Контакты и форма */

  .b2b-contact {
    gap: 14px;
    border-radius: 0;
    overflow: visible;
  }

  .b2b-contact__info {
    padding: 22px 18px 20px;
    border-radius: 14px;
  }

  .b2b-contact__title {
    font-size: 24px;
  }

  .b2b-contact__phones {
    flex-direction: column;
    gap: 15px;
    font-size: 14px;
    line-height: 19.5px;
  }

  .b2b-contact__mail {
    font-size: 14px;
    line-height: 19.5px;
  }

  .b2b-contact__regions {
    line-height: 17px;
  }

  .b2b-contact__img {
    flex: none;
    height: 145px;
    min-height: 0;
  }

  .b2b-contact__img img {
    object-position: 50% 50%;
  }

  .b2b-form {
    padding: 20px 18px 18px;
    border-radius: 14px;
  }

  .b2b-form__fields {
    gap: 10px;
  }

  .b2b-form__title {
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
  }

  .b2b-form__hint {
    font-size: 14px;
    line-height: 22px;
  }

  .b2b-form__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .b2b-input {
    font-size: 14px;
    line-height: 18px;
  }

  .b2b-input--area {
    height: 72px;
    padding-top: 27px;
  }

  .b2b-form__submit {
    order: 1;
    width: 100%;
    max-width: none;
    margin-top: 10px;
    font-size: 14px;
  }

  .b2b-form__message {
    order: 2;
    margin-top: 10px;
  }

  .b2b-form__consents {
    order: 3;
    gap: 10px;
    margin-top: 16px;
  }

  .b2b-check {
    gap: 9px;
    font-size: 14px;
    line-height: 19px;
  }

  .b2b-check input[type="checkbox"] {
    flex-basis: 15px;
    width: 15px;
    height: 15px;
    margin-top: 2px;
  }

  /* Минимальный размер шрифта в мобильной версии — 14px */

  .b2b-breadcrumbs,
  .b2b-contact__regions,
  .b2b-form__message,
  .b2b-card__text,
  .b2b-expo__label,
  .b2b-expo__date,
  .b2b-video__text,
  .b2b-event__place {
    font-size: 14px;
  }
}

/* Попап «Узнать цену» — планшет и мобильные */

@media (max-width: 1279px) {
  .b2b-popup__dialog {
    width: 420px;
    border-radius: 14px;
  }

  .b2b-popup__close {
    top: 11px;
    right: 16px;
  }

  .b2b-form--popup {
    padding: 20px 18px 18px;
  }

  .b2b-form--popup .b2b-form__title,
  .b2b-form--popup .b2b-form__hint {
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }

  .b2b-form--popup .b2b-form__title {
    padding: 0 12px;
  }

  .b2b-form--popup .b2b-form__hint {
    font-size: 14px;
  }

  .b2b-form--popup .b2b-form__hint-tail {
    display: inline;
  }

  .b2b-form--popup .b2b-check {
    align-items: flex-start;
  }
}
