@charset "UTF-8";
/* =====================================================================
   ШАПКА (критические стили, подключаются в HEAD через header.custom.assets.tpl)
   Цвета — только переменные проекта: --primary-color-*, --text-color-*
   Размеры шрифтов задаются классами lp-header-title-* / lp-header-text-*
   ===================================================================== */
.lpc-block.lpc-site-header .lp-header-title-1, .lpc-block.lpc-site-header .lp-header-title-2, .lpc-block.lpc-site-header .lp-header-title-3, .lpc-block.lpc-site-header .lp-header-title-4, .lpc-block.lpc-site-header .lp-header-title-5, .lpc-block.lpc-site-header .lp-header-title-6 {
  color: var(--text-color-base-header);
}
.lpc-block.lpc-site-header .lp-header-text-1, .lpc-block.lpc-site-header .lp-header-text-2, .lpc-block.lpc-site-header .lp-header-text-3, .lpc-block.lpc-site-header .lp-header-text-4 {
  color: var(--text-color-base);
}
.lpc-site-header__topbar-inner.lpc-wrap .lp-header-text-1, .lpc-site-header__topbar-inner.lpc-wrap .lp-header-text-2, .lpc-site-header__topbar-inner.lpc-wrap .lp-header-text-3, .lpc-site-header__topbar-inner.lpc-wrap .lp-header-text-4 {
  font-weight: 600;
}
body .lpc-site-container__inner {
  padding: 20px 0;
}
body .lpc-site-container .site-path {
  padding: 10px 0;
}
.lpc-hdr-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.lpc-hdr-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lpc-hdr-icon--sm {
  width: 20px;
  height: 20px;
}
/* ---------- Каркас ---------- */
.lpc-site-header.lpc-site-header--shop {
  z-index: 320;
}
/* ---------- Топбар ---------- */
.lpc-site-header__topbar {
  background: var(--primary-color-a-04);
  color: var(--text-color-base);
}
.lpc-site-header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
}
.lpc-header-notes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 32px;
  min-width: 0;
}
.lpc-header-notes__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.lpc-header-notes__item + .lpc-header-notes__item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
/* меню в топбаре (данные $nav_data) */
.lpc-site-header__nav {
  width: 100%;
}
.lpc-site-header--shop .lpc-site-header__center {
  flex: 0 1 auto;
  min-width: 50%;
  width: max-content;
  margin-left: 20px;
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}
.lpc-site-header__nav {
  width: 100%;
}
.lpc-site-header--shop .lpc-site-header__topbar .menu-top {
  justify-content: flex-end;
  gap: 18px;
}
.lpc-site-header--shop .lpc-site-header__topbar .menu-top > li > a {
  padding: 12px 0;
  align-items: center;
  gap: 4px;
  color: var(--text-color-base);
}
/*.lpc-site-header--shop .lpc-site-header__topbar .menu-top > li:first-child > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(-45deg);
}*/
.lpc-site-header--shop .lpc-site-header__topbar .menu-top > li > a:hover, .lpc-site-header--shop .lpc-site-header__topbar .menu-top > li.is-opened > a {
  color: var(--primary-color-base);
}
.lpc-site-header--shop .lpc-site-header__topbar .menu-top li ul {
  border-radius: 12px;
}
/* ---------- Основная строка ---------- */
.lpc-site-header--shop .lpc-site-header__inner {
  min-height: 0;
  padding: 20px 0 0;
  gap: 24px;
}
.lpc-site-header--shop .lpc-site-header__left {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}
.lpc-site-header--shop .lpc-site-header__info {
  gap: 16px;
}
.lpc-site-header--shop .lpc-site-logo img {
  display: block;
}
.lpc-site-header--shop .lpc-site-name {
  line-height: 1.1;
}
.lpc-site-header--shop .lpc-site-name__link {
  color: inherit;
}
.lpc-site-header--shop .lpc-site-description {
  margin-top: 4px;
  color: var(--text-color-a-06);
}
.lpc-site-header--shop .lpc-site-header__right {
  flex: 0 0 auto;
  max-width: none;
  flex-wrap: nowrap;
  gap: 32px;
}
/* иконки пунктов верхней полосы (topbar_items.icon) */
.lpc-header-notes__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.lpc-header-notes__icon--image {
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* ---------- Контакты из $lpc_header.blocks (lpc-contacts.tpl) ---------- */
/* общая иконка контакта (show_icon) — подвал, бургер, всплывающие контакты */
.lpc-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--primary-color-base);
  text-decoration: none;
}
.lpc-contact--has-icon .lpc-header-address__container, .lpc-contact--has-icon .lpc-header-mail__container, .lpc-contact--has-icon .lpc-header-work__container, .lpc-contact--has-icon .lpc-footer-address__container, .lpc-contact--has-icon .lpc-footer-mail__container, .lpc-contact--has-icon .lpc-footer-work__container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lpc-contact--has-icon .lpc-header-phone__container, .lpc-contact--has-icon .lpc-footer-phone__container {
  gap: 12px;
}
/* в шапке иконка — на цветной подложке */
.lpc-site-header--shop .lpc-header-contacts {
  flex-wrap: nowrap;
  gap: 32px;
}
.lpc-site-header--shop .lpc-header-contacts__item {
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}
.lpc-header-contacts .lpc-contact-icon, .lpc-burger-contacts .lpc-contact-icon, .lpc-popup-contacts .lpc-contact-icon {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border-radius: 12px;
  background: var(--primary-color-a-02);
  color: var(--text-color-base);
  transition: background 0.2s;
}
.lpc-header-contacts a.lpc-contact-icon:hover {
  background: var(--primary-color-a-04);
}
.lpc-site-header--shop .lpc-header-phone__body, .lpc-site-header--shop .lpc-contact-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lpc-site-header--shop .lpc-header-phone__number {
  line-height: 1.3;
}
.lpc-site-header--shop .lpc-header-phone__number-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.lpc-site-header--shop .lpc-header-phone__number-link:hover {
  color: var(--primary-color-base);
}
.lpc-site-header--shop .lpc-header-phone__title, .lpc-site-header--shop .lpc-header-phone__note, .lpc-site-header--shop .lpc-header-address__title, .lpc-site-header--shop .lpc-header-address__note, .lpc-site-header--shop .lpc-header-work__title, .lpc-site-header--shop .lpc-header-mail__title {
  color: var(--text-color-a-06);
}
.lpc-site-header--shop .lpc-header-address__body.lp-header-title-1, .lpc-site-header--shop .lpc-header-address__body.lp-header-title-2, .lpc-site-header--shop .lpc-header-address__body.lp-header-title-3, .lpc-site-header--shop .lpc-header-address__body.lp-header-title-4, .lpc-site-header--shop .lpc-header-address__body.lp-header-title-5, .lpc-site-header--shop .lpc-header-address__body.lp-header-title-6 {
  line-height: 1.3;
}
/* кабинет (кнопка из shop_btns.tpl) */
.lpc-site-header--shop .lpc-header-login {
  position: relative;
}
.lpc-site-header--shop .lpc-header-login__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: none;
  color: var(--text-color-base);
  cursor: pointer;
  transition: background 0.2s;
}
.lpc-site-header--shop .lpc-header-login__btn::before, .lpc-site-header--shop .lpc-header-login__btn::after {
  display: none;
}
.lpc-site-header--shop .lpc-header-login__btn:hover {
  background: var(--primary-color-a-01);
}
/* ---------- Панель магазина ---------- */
.lpc-site-header-bar {
  position: relative;
  z-index: 19;
  color: var(--lpc_header_color);
  background: linear-gradient(var(--lpc_header_bg), var(--lpc_header_bg)), var(--lpc_site_bg);
  --text-color-base: var(--lpc_header_color);
  --text-color-base-header: var(--lpc_header_title_color);
  transition: box-shadow 0.2s;
}
.lpc-site-header-bar--sticky {
  position: sticky;
  top: 0;
  z-index: 190;
}
.lpc-site-header-bar--stuck {
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.25);
}
.lpc-site-header-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 16px;
  transition: padding 0.2s;
}
.lpc-site-header-bar--stuck .lpc-site-header-bar__inner {
  padding-top: 12px;
  padding-bottom: 12px;
}
.lpc-wrap .lpc-site-header-bar__catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  height: 56px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--primary-color-base);
  color: var(--lpc-primary-contrast, var(--text-color-base));
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}
.lpc-wrap .lpc-site-header-bar__catalog .lp-header-title-6 {
  color: inherit;
}
.lpc-wrap .lpc-site-header-bar__catalog:hover {
  background: var(--primary-color-d-5);
  box-shadow: 0 6px 16px var(--primary-color-a-03);
}
/* поиск (форма search-block из shop_btns.tpl) */
.lpc-site-header-bar .lpc-site-header-bar__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 0 4px 0 16px;
  border: 1.5px solid var(--text-color-a-01);
  border-radius: 12px;
  background: var(--lpc_site_bg);
  transition: border-color 0.2s;
}
.lpc-site-header-bar .lpc-site-header-bar__search:hover {
  border-color: var(--text-color-a-03);
}
.lpc-site-header-bar .lpc-site-header-bar__search:focus-within {
  border-color: var(--primary-color-base);
}
.lpc-site-header-bar__search-icon {
  margin-right: 8px;
  color: var(--text-color-a-06);
}
.lpc-site-header-bar__search .search-block__input-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
}
.lpc-site-header-bar__search .search-block__input, .lpc-site-header-bar__search .search-block__input.lp-form-tpl__field-text {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--text-color-base);
  -webkit-appearance: none;
  appearance: none;
}
.lpc-site-header-bar__search .search-block__input::placeholder {
  color: var(--text-color-a-05);
}
.lpc-site-header-bar__search .search-block__btn, .lpc-site-header-bar__search .gr-search-advanced-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.lpc-site-header-bar__search .search-block__btn {
  width: auto;
  padding: 10px 16px;
  background: var(--primary-color-base);
  color: var(--lpc-primary-contrast, var(--text-color-base));
}
.lpc-site-header-bar__search .search-block__btn:hover {
  background: var(--primary-color-d-5);
}
.lpc-site-header-bar__search .gr-search-advanced-btn {
  width: 46px;
  background: transparent;
  color: var(--text-color-a-07);
}
.lpc-site-header-bar__search .gr-search-advanced-btn:hover {
  background: var(--primary-color-a-01);
}
.lpc-site-header-bar__search .search-block__btn > span, .lpc-site-header-bar__search .gr-search-advanced-btn > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* иконки gr-mask-icon задаёт Shop2 (mask-image), здесь только размер и цвет */
.lpc-site-header-bar__search .gr-mask-icon {
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
}
/* корзина (кнопка из shop_btns.tpl): иконка, текст, сумма и счётчик в один ряд */
.lpc-site-header-bar__cart {
  flex: 0 0 auto;
}
.lpc-wrap .lpc-site-header-bar__cart-btn {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  width: auto;
  height: 56px;
  padding: 0 16px 0 20px;
  border-radius: 12px;
  background: var(--lpc_site_bg);
  box-shadow: inset 0 0 0 1.5px var(--primary-color-base);
  color: var(--text-color-base);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.lpc-wrap .lpc-site-header-bar__cart-btn::before, .lpc-wrap .lpc-site-header-bar__cart-btn::after {
  display: none;
}
.lpc-wrap .lpc-site-header-bar__cart-btn:hover {
  background: var(--primary-color-a-01);
}
.lpc-site-header-bar__cart-label, .lpc-wrap .lpc-site-header-bar__cart-sum {
  color: inherit;
  line-height: 1;
}
.lpc-site-header-bar__cart .lpc-site-header-btns__amount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 24px;
  height: 24px;
  margin: 0;
  padding: 0 7px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(50%, -50%);
}
.lpc-site-header-bar__cart-btn:not(.active) .lpc-site-header-btns__amount {
  display: none;
}
/* ---------- Адаптив ---------- */
@media (max-width: 1260px) {
  .lpc-site-header--shop .lpc-header-contacts {
    display: flex;
  }
  .lpc-site-header__topbar-inner {
    justify-content: center;
  }
  .lpc-site-header--shop .lpc-site-header__center {
    display: none;
    /* меню топбара на планшете/мобильном — в бургере */
  }
  .lpc-site-header--shop .lpc-site-header__right {
    gap: 16px;
  }
}
@media (max-width: 1100px) {
  /* на планшете в шапке остаётся только первый телефон */
  .lpc-site-header--shop .lpc-header-contacts__item:not(.lpc-header-phone), .lpc-site-header--shop .lpc-header-phone ~ .lpc-header-phone {
    display: none;
  }
}
@media (max-width: 767px) {
  .lpc-site-header__topbar-inner {
    min-height: 36px;
  }
  .lpc-header-notes {
    justify-content: center;
    gap: 4px 20px;
  }
  .lpc-header-notes__item {
    gap: 6px;
  }
  .lpc-header-notes__item + .lpc-header-notes__item::before {
    display: none;
  }
  .lpc-header-notes__icon {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
  }
  .lpc-site-header--shop .lpc-site-header__inner {
    padding: 12px 0 0;
    gap: 12px;
  }
  .lpc-site-header--shop .lpc-site-header__info {
    gap: 10px;
  }
  .lpc-site-header--shop .lpc-site-logo img {
    width: auto !important;
    /* на мобильном логотип не шире 48px, ширина из настроек — для ПК */
    max-width: 48px !important;
    height: auto;
  }
  .lpc-site-header--shop .lpc-site-description {
    display: none;
  }
  .lpc-site-header--shop .lpc-site-header__right {
    gap: 4px;
  }
  .lpc-site-header--shop .lpc-header-phone.lpc-contact--has-icon .lpc-header-phone__left, .lpc-site-header--shop .lpc-header-phone .lpc-header-phone__right, .lpc-site-header--shop .lpc-header-phone:not(.lpc-contact--has-icon) {
    display: none;
  }
  .lpc-header-contacts .lpc-contact-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 8px;
  }
  .lpc-site-header--shop .lpc-header-login__btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .lpc-header-login__text {
    display: none;
  }
  .lpc-site-header--shop .lpc-burger-btn {
    width: 44px;
    height: 44px;
    padding: 13px 11px;
  }
  .lpc-site-header-bar__inner {
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 12px;
    padding-top: 12px;
  }
  .lpc-site-header-bar--stuck .lpc-site-header-bar__inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .lpc-wrap .lpc-site-header-bar__catalog {
    flex: 1 1 0;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    gap: 8px;
  }
  .lpc-site-header-bar__catalog-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lpc-site-header-bar .lpc-site-header-bar__search {
    order: 3;
    flex: 1 1 100%;
    height: 48px;
    padding-left: 12px;
  }
  .lpc-site-header-bar__search .search-block__btn, .lpc-site-header-bar__search .gr-search-advanced-btn {
    height: 40px;
  }
  .lpc-site-header-bar__search .search-block__btn {
    width: auto;
  }
  .lpc-wrap .lpc-site-header-bar__cart-btn {
    height: 48px;
    padding: 0 12px 0 14px;
    gap: 8px;
  }
  .lpc-site-header-bar__cart-label {
    display: none;
  }
}
@media (max-width: 400px) {
  .lpc-site-header-bar__catalog .lpc-hdr-icon {
    display: none;
  }
}
@media (max-width: 359px) {
  .lpc-wrap .lpc-site-header-bar__cart-sum {
    display: none;
  }
}
.shop-btns-fix-panel__items {
  display: none !important;
}
@media (max-width: 767px) {
  body .lpc-site-container .site-path {
    margin-left: 0;
    margin-right: 0;
  }
}
body .site-main__inner {
  padding: 0;
}
