

/* Start:/local/templates/main/components/bitrix/sale.basket.basket.small/basket/style.css?1794992392329*/
/*Table*/
table.sale_basket_small
{
	width:245;
	border-collapse:collapse;
	font-size:12px;
	border:1px solid #ADC3D5;
}

/*Table head*/
table.sale_basket_small th
{
	text-align: left;
	color:#25639A;
}

/* Table cells and heads*/
table.sale_basket_small th, table.sale_basket_small td
{
	padding: 3px 5px;
	vertical-align:top;
}
/* End */


/* Start:/local/templates/main/components/bitrix/menu/left_mob/style.css?1794992392581*/
/* Left menu*/
ul.left-menu
{
	list-style:none;
	margin:0; padding:0;
	margin-bottom:8px;
	position: relative; /*IE bug*/
}

ul.left-menu li
{
	padding: 10px 16px;
	background:#F5F5F5 url(/local/templates/main/components/bitrix/menu/left_mob/images/left_menu_bg.gif) top repeat-x;
}

ul.left-menu li a
{
	font-size:100%;
	color:#BC262C;
	font-weight:bold;
	text-decoration:none;
}

ul.left-menu li a:visited
{
	color:#BC262C;
}

ul.left-menu li a:hover
{
	color:#BC262C;
}


ul.left-menu li a.selected:link,
ul.left-menu li a.selected:visited,
ul.left-menu li a.selected:active,
ul.left-menu li a.selected:hover
{
	color:#FC8D3D;
}




/* End */


/* Start:/local/templates/main/components/bitrix/news.list/service_mob/style.css?1794992392150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */


/* Start:/local/templates/main/components/bitrix/menu/header_mob/style.css?1794992392581*/
/* Left menu*/
ul.left-menu
{
	list-style:none;
	margin:0; padding:0;
	margin-bottom:8px;
	position: relative; /*IE bug*/
}

ul.left-menu li
{
	padding: 10px 16px;
	background:#F5F5F5 url(/local/templates/main/components/bitrix/menu/header_mob/images/left_menu_bg.gif) top repeat-x;
}

ul.left-menu li a
{
	font-size:100%;
	color:#BC262C;
	font-weight:bold;
	text-decoration:none;
}

ul.left-menu li a:visited
{
	color:#BC262C;
}

ul.left-menu li a:hover
{
	color:#BC262C;
}


ul.left-menu li a.selected:link,
ul.left-menu li a.selected:visited,
ul.left-menu li a.selected:active,
ul.left-menu li a.selected:hover
{
	color:#FC8D3D;
}




/* End */


/* Start:/local/templates/main/components/bitrix/menu/header/style.css?1794992392581*/
/* Left menu*/
ul.left-menu
{
	list-style:none;
	margin:0; padding:0;
	margin-bottom:8px;
	position: relative; /*IE bug*/
}

ul.left-menu li
{
	padding: 10px 16px;
	background:#F5F5F5 url(/local/templates/main/components/bitrix/menu/header/images/left_menu_bg.gif) top repeat-x;
}

ul.left-menu li a
{
	font-size:100%;
	color:#BC262C;
	font-weight:bold;
	text-decoration:none;
}

ul.left-menu li a:visited
{
	color:#BC262C;
}

ul.left-menu li a:hover
{
	color:#BC262C;
}


ul.left-menu li a.selected:link,
ul.left-menu li a.selected:visited,
ul.left-menu li a.selected:active,
ul.left-menu li a.selected:hover
{
	color:#FC8D3D;
}




/* End */


/* Start:/local/templates/main/components/bitrix/menu/left/style.css?1794992392581*/
/* Left menu*/
ul.left-menu
{
	list-style:none;
	margin:0; padding:0;
	margin-bottom:8px;
	position: relative; /*IE bug*/
}

ul.left-menu li
{
	padding: 10px 16px;
	background:#F5F5F5 url(/local/templates/main/components/bitrix/menu/left/images/left_menu_bg.gif) top repeat-x;
}

ul.left-menu li a
{
	font-size:100%;
	color:#BC262C;
	font-weight:bold;
	text-decoration:none;
}

ul.left-menu li a:visited
{
	color:#BC262C;
}

ul.left-menu li a:hover
{
	color:#BC262C;
}


ul.left-menu li a.selected:link,
ul.left-menu li a.selected:visited,
ul.left-menu li a.selected:active,
ul.left-menu li a.selected:hover
{
	color:#FC8D3D;
}




/* End */


/* Start:/local/templates/main/components/bitrix/news.list/service/style.css?1794992392150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */


/* Start:/local/templates/main/components/bitrix/news.list/certificate/style.css?1794992392150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */


/* Start:/local/templates/main/components/bitrix/menu/bottom_mob/style.css?1794992392581*/
/* Left menu*/
ul.left-menu
{
	list-style:none;
	margin:0; padding:0;
	margin-bottom:8px;
	position: relative; /*IE bug*/
}

ul.left-menu li
{
	padding: 10px 16px;
	background:#F5F5F5 url(/local/templates/main/components/bitrix/menu/bottom_mob/images/left_menu_bg.gif) top repeat-x;
}

ul.left-menu li a
{
	font-size:100%;
	color:#BC262C;
	font-weight:bold;
	text-decoration:none;
}

ul.left-menu li a:visited
{
	color:#BC262C;
}

ul.left-menu li a:hover
{
	color:#BC262C;
}


ul.left-menu li a.selected:link,
ul.left-menu li a.selected:visited,
ul.left-menu li a.selected:active,
ul.left-menu li a.selected:hover
{
	color:#FC8D3D;
}




/* End */


/* Start:/local/templates/main/components/bitrix/menu/bottom/style.css?1794992392581*/
/* Left menu*/
ul.left-menu
{
	list-style:none;
	margin:0; padding:0;
	margin-bottom:8px;
	position: relative; /*IE bug*/
}

ul.left-menu li
{
	padding: 10px 16px;
	background:#F5F5F5 url(/local/templates/main/components/bitrix/menu/bottom/images/left_menu_bg.gif) top repeat-x;
}

ul.left-menu li a
{
	font-size:100%;
	color:#BC262C;
	font-weight:bold;
	text-decoration:none;
}

ul.left-menu li a:visited
{
	color:#BC262C;
}

ul.left-menu li a:hover
{
	color:#BC262C;
}


ul.left-menu li a.selected:link,
ul.left-menu li a.selected:visited,
ul.left-menu li a.selected:active,
ul.left-menu li a.selected:hover
{
	color:#FC8D3D;
}




/* End */


/* Start:/local/templates/main/template_styles.css?179499239233275*/
/* Блок «Продукция» (/catalog/) — старая разметка .categoriesCat под брейкпоинты новой верстки.
   Картинки остаются прежними JPG (background-image в разметке), поведение фона — как на live-мобилке:
   right bottom, no-repeat, без масштабирования.
   Подключать после template_styles.css, чтобы перекрыть правила из @media (max-width: 920px). */

/* ===== Общие токены (если :root уже есть в template_styles.css — перенести туда) ===== */
:root {
  --color-accent-hover: #098c9e;
  --font-main: Arimo, Arial, sans-serif;
}

/* ===== Общие утилиты (используются в нескольких блоках ниже) ===== */

/* Чекбоксы (profile + subscription) */
.bx-auth-profile input[type="checkbox"],
.subscription input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 0;
  background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-panel-line);
  cursor: pointer;
}

.bx-auth-profile input[type="checkbox"]:checked,
.subscription input[type="checkbox"]:checked {
  background: var(--color-white) url(/local/templates/main/./assets/icons/catalog-check.svg) no-repeat center/9.674805px 7.454254px;
  box-shadow: inset 0 0 0 1px var(--color-panel-line);
}

/* Текстовые поля (profile + subscription) */
.bx-auth-profile input[type="text"],
.bx-auth-profile input[type="password"],
.bx-auth-profile input[type="email"],
.bx-auth-profile select,
.bx-auth-profile textarea,
.subscription .subscription-email,
.subscription .subscription-textbox {
  width: 100%;
  height: 52px;
  padding: 0 13px;
  border: 1px solid var(--color-panel-line);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
  font-size: 15px;
  line-height: 22px;
}

.bx-auth-profile textarea {
  height: 128px;
  padding-top: 11px;
  resize: none;
}

.bx-auth-profile input[type="text"]:focus,
.bx-auth-profile input[type="password"]:focus,
.bx-auth-profile input[type="email"]:focus,
.bx-auth-profile select:focus,
.bx-auth-profile textarea:focus,
.subscription .subscription-email:focus,
.subscription .subscription-textbox:focus {
  border-color: var(--color-focus);
  outline: 1px solid var(--color-focus);
  outline-offset: 1px;
}

.bx-auth-profile input::placeholder,
.bx-auth-profile textarea::placeholder,
.subscription .subscription-email::placeholder,
.subscription .subscription-textbox::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

/* Кнопки submit (profile + subscription) */
.bx-auth-profile input[type="submit"],
.subscription input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--color-accent);
  color: var(--color-white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  cursor: pointer;
  transition: background-color 0.22s ease;
}

.bx-auth-profile input[type="submit"] { min-width: 140px; }
.subscription input[type="submit"]   { min-width: 160px; }

.bx-auth-profile input[type="submit"]:hover,
.subscription input[type="submit"]:hover {
  background: var(--color-accent-hover);
}

/* Общий focus-visible (кроме .categoriesCat .item — у него свой) */
.bx-auth-profile .profile-link a:focus-visible,
.bx-auth-profile input[type="submit"]:focus-visible,
.bx-auth-profile input[type="reset"]:focus-visible,
.subscription input[type="submit"]:focus-visible,
.cart-modal__btn:focus-visible,
.compare-modal__btn:focus-visible,
.popup-input:focus-visible {
  outline: 1px solid var(--color-focus);
  outline-offset: 3px;
}

/* ===== Внешние отступы (бывшие padding:22px 20px и margin-bottom:22px) убраны:
   по краям блок выравнивает контейнер страницы новой верстки, а промежутки задаёт gap. ===== */
.categoriesCat {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
}

.categoriesCat .item {
  display: block;
  box-sizing: border-box;
  height: 150px;
  margin: 0;
  padding: 20px;
  border-radius: 8px;
  background-color: #e9e9e9;
  background-repeat: no-repeat;
  background-position: right bottom;
  color: #000;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  text-decoration: none;
}

.categoriesCat .item span {
  display: block;
  width: 60%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.categoriesCat .item:focus-visible {
  outline: 2px solid var(--color-control, #75436f);
  outline-offset: 2px;
}

/* Планшет */
@media screen and (min-width: 768px) {
  .categoriesCat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .categoriesCat .item {
    height: 160px;
    font-size: 20px;
    line-height: 24px;
  }

  .categoriesCat .item span {
    width: 55%;
  }
}

/* Десктоп */
@media screen and (min-width: 1200px) {
  .categoriesCat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .categoriesCat .item {
    height: 170px;
    padding: 24px;
    font-size: 20px;
    line-height: 24px;
  }

  .categoriesCat .item span {
    width: 52%;
  }
}

/* Узкие телефоны */
@media screen and (max-width: 374px) {
  .categoriesCat .item {
    height: 140px;
    padding: 16px;
    font-size: 20px;
    line-height: 24px;
  }

  .categoriesCat .item span {
    width: 62%;
  }
}

/*system.pagenavigation*/
.catalog-pagination {
  padding-top: 12px;
}
@media screen and (max-width: 767px) {
  .catalog-pagination {
    padding-top: 32px;
  }
}
/*end system.pagenavigation*/

/*detail*/
/*нужно растянуть описание*/
.product-detail__upper {
  height: auto !important;
}
.product-description__columns {
  align-items: flex-start !important;
}
.product-description {
  height: 100% !important;
}
.product-description__copy {
  height: 100% !important;
}

.product-purchase__availability.unavailable {
  color: var(--color-danger);
}
.product-purchase__availability.order {
  color: var(--color-control);
}

.product-description__text a {
  text-decoration: none;
  color: var(--color-control, #75436f);
}
.product-purchase__button--unavailable {
  background: var(--color-muted) !important;
}
/*detail end*/

/* ===== Блок описания (.descr) ===== */

.descr {
  display: block; /* ВАЖНО: убираем flex, иначе дочерние элементы изолируются от float */
  color: var(--color-ink);
  font-size: 14px;
  line-height: 22px;
}

/* Сброс стандартных отступов и гарантия того, что текст будет обтекать картинку */
.descr p,
.descr ul,
.descr li {
  margin: 0 0 12px;
  overflow: visible; /* не hidden, иначе создастся BFC и текст уйдёт вниз */
}

/* Заголовки */
.descr h3 {
  display: block;
  margin: 24px 0 12px;
  font-family: var(--font-main);
  font-size: 23px;
  font-weight: 700;
  line-height: 29px;
  color: var(--color-ink);
  /* clear: both; УБРАНО, чтобы заголовки тоже обтекали картинку,
     как на вашем скрине (Виды и особенности, Продажа бензиновых...) */
}

.descr h3:first-child {
  margin-top: 0;
}

/* Списки */
.descr ul {
  padding-left: 22.5px;
  list-style: none;
}

.descr li {
  position: relative;
  padding-left: 12px;
}

.descr ul > li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-plum);
}

/* Ссылки */
.descr a {
  color: var(--color-link);
  text-decoration: none;
}

.descr a:hover,
.descr a:focus-visible {
  color: var(--color-plum);
  text-decoration: underline;
}

.descr b { font-weight: 700; }
.descr i { font-style: italic; }

/* ===== Изображения с обтеканием ===== */

.descr img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Картинка слева */
.descr img[align="left"] {
  float: left;
  margin: 4px 16px 12px 0;
}

/* Картинка справа */
.descr img[align="right"] {
  float: right;
  margin: 4px 0 12px 16px;
}

/* Очистка обтекания в самом конце блока */
.descr:after {
  content: "";
  display: table;
  clear: both;
}

/* Подписи к отзывам */
.descr p[style*="text-align: right"] {
  font-size: 12px;
  line-height: 17px;
  color: var(--color-control, #75436f);
}

/* ===== Адаптив ===== */

@media screen and (max-width: 1279px) {
  .descr h3 {
    font-size: 21px;
    line-height: 27px;
  }
  .descr img[align="left"],
  .descr img[align="right"] {
    max-width: 40%;
  }
}

@media screen and (max-width: 767px) {
  .descr h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .descr p,
  .descr li {
    font-size: 15px;
    line-height: 22px;
  }
  .descr ul {
    padding-left: 18px;
  }
  /* На мобильных уменьшаем картинки, но оставляем float, чтобы текст обтекал */
  .descr img[align="left"],
  .descr img[align="right"] {
    max-width: 45%;
    height: auto;
  }
  .descr img[align="left"] {
    margin: 4px 12px 8px 0;
  }
  .descr img[align="right"] {
    margin: 4px 0 8px 12px;
  }
}

@media screen and (max-width: 374px) {
  .descr h3 {
    font-size: 18px;
    line-height: 24px;
  }
  .descr p,
  .descr li {
    font-size: 14px;
  }
  .descr img[align="left"],
  .descr img[align="right"] {
    max-width: 50%;
  }
}
/*end*/

/*profile*/
/* ===== Профиль (.bx-auth-profile) ===== */

.bx-auth-profile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--color-ink);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 22px;
}

.bx-auth-profile form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Заголовки-аккордеоны (.profile-link) */
.bx-auth-profile .profile-link {
  display: flex;
  align-items: center;
  height: 42px;
  padding-inline: 20px;
  background: var(--color-plum);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
}

.bx-auth-profile .profile-link a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.bx-auth-profile .profile-link a:hover,
.bx-auth-profile .profile-link a:focus-visible {
  text-decoration: underline;
}

/* Таблицы профиля */
.bx-auth-profile .profile-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--color-white);
  border: 1px solid var(--color-line);
}

.bx-auth-profile .profile-table thead td {
  height: 0;
  padding: 0;
  border: 0;
}

.bx-auth-profile .profile-table tbody td {
  padding: 10px 16px;
  vertical-align: middle;
  font-size: 14px;
  line-height: 22px;
  border-bottom: 1px solid var(--color-line);
}

.bx-auth-profile .profile-table tbody td:first-child {
  width: 45%;
  color: var(--color-muted);
}

.bx-auth-profile .profile-table tbody td:last-child {
  color: var(--color-ink);
}

.bx-auth-profile .profile-table tbody tr:last-child td {
  border-bottom: 0;
}

.bx-auth-profile .profile-table .profile-header {
  padding: 8px 16px;
  background: var(--color-background);
  color: var(--color-plum);
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-line);
}

/* Иконка календаря */
.bx-auth-profile input#PERSONAL_BIRTHDAY {
  padding-right: 40px;
}
.bx-auth-profile .calendar-icon {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: 18px 0 0 -32px;
  cursor: pointer;
}

/* Файловые инпуты */
.bx-auth-profile input[type="file"] {
  width: 100%;
  padding: 8px 0;
  font-size: 13px;
  color: var(--color-muted);
}

.bx-auth-profile input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border: 1px solid var(--color-panel-line);
  border-radius: 0;
  background: var(--color-background);
  color: var(--color-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* Кнопка reset (submit — в общих утилитах выше) */
.bx-auth-profile input[type="reset"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-control);
  box-shadow: inset 0 0 0 1px var(--color-panel-line);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  cursor: pointer;
  transition: background-color 0.22s ease;
}

.bx-auth-profile input[type="reset"]:hover {
  background: var(--color-background);
}

/* Секции личного кабинета (h2 / ul) */
.bx-auth-profile h2 {
  margin: 24px 0 8px;
  font-family: var(--font-main);
  font-size: 23px;
  font-weight: 700;
  line-height: 29px;
  color: var(--color-plum);
}

.bx-auth-profile h2:first-of-type {
  margin-top: 8px;
}

.bx-auth-profile > ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bx-auth-profile > ul > li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 22px;
}

.bx-auth-profile > ul > li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-plum);
}

.bx-auth-profile > ul > li > a {
  color: var(--color-control);
  text-decoration: none;
  font-weight: 700;
}

.bx-auth-profile > ul > li > a:hover {
  color: var(--color-plum);
  text-decoration: underline;
}

/* ===== Подписка (.subscription) ===== */

.subscription {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-ink);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 22px;
}

.subscription form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Заголовок */
.subscription .subscription-title > b {
  display: none;
}

.subscription .subscription-title-inner {
  display: flex;
  align-items: center;
  height: 42px;
  padding-inline: 20px;
  background: var(--color-plum);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
}

/* Таблица формы */
.subscription .subscription-layout {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: 1px solid var(--color-line);
}

.subscription .subscription-layout td {
  padding: 12px 16px;
  vertical-align: top;
  font-size: 14px;
  line-height: 22px;
  border-bottom: 1px solid var(--color-line);
}

.subscription .subscription-layout tr:last-child td {
  border-bottom: 0;
}

.subscription .subscription-layout .field-name {
  width: 35%;
  color: var(--color-muted);
}

/* Радио (чекбоксы — в общих утилитах выше) */
.subscription input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin: 0;
  border: 1px solid var(--color-control);
  border-radius: 50%;
  cursor: pointer;
}

.subscription input[type="radio"]:checked {
  background: var(--color-control) url(/local/templates/main/./assets/icons/catalog-radio-check.svg) no-repeat left top/24px 24px;
  background-origin: border-box;
}

/* Поля ввода — в общих утилитах выше */

/* Утилитарный блок подписки */
.subscription .subscription-utility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--color-line);
  background: var(--color-background);
}

.subscription .subscription-utility p {
  flex-basis: 100%;
  margin: 0 0 4px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 19px;
}

.subscription .subscription-utility .subscription-textbox {
  flex: 1 1 260px;
  background: var(--color-white);
}

.subscription .subscription-utility input[type="submit"] {
  flex: 0 0 auto;
  min-width: 200px;
}

/* ===== Общий адаптив для profile + subscription ===== */
@media screen and (max-width: 767px) {
  /* заголовки-аккордеоны */
  .bx-auth-profile .profile-link,
  .subscription .subscription-title-inner {
    height: 48px;
    padding-inline: 16px;
    font-size: 15px;
    line-height: 20px;
  }

  /* таблицы → блочный layout */
  .bx-auth-profile .profile-table,
  .bx-auth-profile .profile-table tbody,
  .bx-auth-profile .profile-table tr,
  .bx-auth-profile .profile-table td,
  .subscription .subscription-layout,
  .subscription .subscription-layout tbody,
  .subscription .subscription-layout tr,
  .subscription .subscription-layout td {
    display: block;
    width: 100%;
  }

  .bx-auth-profile .profile-table,
  .subscription .subscription-layout {
    border: 0;
    outline: 1px solid var(--color-line);
    outline-offset: -1px;
    background: transparent;
  }

  .bx-auth-profile .profile-table tbody td,
  .subscription .subscription-layout td {
    border-bottom: 0;
    padding: 6px 16px;
  }

  .bx-auth-profile .profile-table tbody td:first-child,
  .subscription .subscription-layout .field-name {
    width: 100%;
    padding-top: 12px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 18px;
  }

  .bx-auth-profile .profile-table tbody td:last-child,
  .subscription .subscription-layout .field-form {
    padding-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-line);
  }

  /* кнопки */
  .bx-auth-profile input[type="submit"],
  .bx-auth-profile input[type="reset"],
  .subscription input[type="submit"] {
    width: 100%;
    height: 52px;
    margin-bottom: 8px;
  }

  .subscription .subscription-utility {
    flex-direction: column;
    align-items: stretch;
  }
  .subscription .subscription-utility .subscription-textbox,
  .subscription .subscription-utility input[type="submit"] {
    flex-basis: auto;
    width: 100%;
  }

  /* поля */
  .bx-auth-profile input[type="text"],
  .bx-auth-profile input[type="password"],
  .bx-auth-profile select,
  .bx-auth-profile textarea,
  .subscription .subscription-email,
  .subscription .subscription-textbox {
    padding-inline: 16px;
  }
}
/*end profile*/

/* ===== Общие модалки: cart + compare ===== */
.cart-modal,
.compare-modal {
  width: min(420px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  background: var(--color-white);
  color: var(--color-plum);
  text-align: center;
  animation: modal-in .22s cubic-bezier(.22, 1, .36, 1);
}

.cart-modal::backdrop,
.compare-modal::backdrop {
  background: rgba(53, 32, 49, .78);
  backdrop-filter: blur(4px);
  animation: modal-backdrop-in .22s cubic-bezier(.22, 1, .36, 1);
}

@keyframes modal-in {
  0%   { opacity: 0; transform: scale(.97) translateY(4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes modal-backdrop-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-modal,
  .compare-modal,
  .cart-modal::backdrop,
  .compare-modal::backdrop {
    animation: none;
  }
}

.cart-modal__content,
.compare-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 28px 28px;
  font-size: 15px;
  line-height: 22px;
}

/* Иконка */
.cart-modal__icon,
.compare-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  animation: modal-icon-in .35s cubic-bezier(.22, 1, .36, 1);
}

@keyframes modal-icon-in {
  0%   { transform: scale(.4); opacity: 0; }
  100% { transform: scale(1);  opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-modal__icon,
  .compare-modal__icon {
    animation: none;
  }
}

.cart-modal__icon {
  background: rgba(11, 166, 186, .12);
  color: var(--color-accent);
}
.compare-modal__icon {
  background: rgba(118, 56, 115, .12);
  color: var(--color-active);
}

.cart-modal__title,
.compare-modal__title {
  margin: 0 0 6px;
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 700;
  line-height: 26px;
  color: var(--color-plum);
}

.cart-modal__text,
.compare-modal__text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
}

.cart-modal__actions,
.compare-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.cart-modal__btn,
.compare-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color .22s cubic-bezier(.22, 1, .36, 1),
    border-color .22s cubic-bezier(.22, 1, .36, 1),
    color .22s cubic-bezier(.22, 1, .36, 1);
}

.cart-modal__btn--primary,
.compare-modal__btn--primary {
  background: var(--color-active);
  color: var(--color-white);
}
.cart-modal__btn--primary:hover,
.compare-modal__btn--primary:hover {
  background: var(--color-cart);
}

.cart-modal__btn--ghost,
.compare-modal__btn--ghost {
  background: var(--color-white);
  color: var(--color-plum);
  border-color: var(--color-line);
}
.cart-modal__btn--ghost:hover,
.compare-modal__btn--ghost:hover {
  background: var(--product-pale);
  border-color: var(--color-control);
}

html:has(.cart-modal[open]),
html:has(.compare-modal[open]) {
  overflow: hidden;
}
/*end добавление в корзину + сравнение*/

/*перезвоните мне*/
.callback-modal {
  width: min(720px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.callback-modal__content {
  /* можно ничего не задавать — стили .contacts-form уже применятся */
}

/* скрываем лишние скрипты, если вдруг попадут */
.callback-modal__content script { display: none; }

/* убираем лишние отступы от .ui-kit__section внутри модалки */
.callback-modal__content .ui-kit__section { margin-top: 0; }

/* ===== contacts-form (глобально, для модалки) ===== */
.contacts-form {
  gap: 20px;
  width: min(1074px, 100%);
  padding: 24px;
}

.contacts-form__heading { gap: 5px; }

.contacts-form__title {
  height: 37px;
  font-size: 26px;
  font-weight: 700;
  line-height: 35px;
}

.contacts-form__description {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 21px;
}

.contacts-form__fields { gap: 26px; }

.contacts-form__row {
  display: grid;
  grid-template-columns: minmax(0, 490px) minmax(0, 514px);
  gap: 20px;
}

.contacts-form__field { gap: 4px; }

.contacts-form__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
}

.contacts-form__input {
  width: 100%;
  height: 52px;
  padding: 0 13px;
  border-radius: 0;
  color: var(--color-ink);
  font-size: 15px;
  line-height: 22px;
}

.contacts-form__input::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

.contacts-form__textarea {
  height: 128px;
  padding-top: 11px;
  resize: none;
}

.contacts-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contacts-form__submit {
  flex-shrink: 0;
  width: 252px;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
}

/* .agreement — если у вас это отдельный блок с чекбоксом */
.agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--color-muted);
}
.agreement input[type="checkbox"] { margin-top: 2px; }
.agreement a { color: var(--color-control); text-decoration: underline; }

/* адаптив */
@media (max-width: 1279px) {
  .contacts-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-form__footer { flex-wrap: wrap; gap: 24px; align-items: flex-end; }
  .contacts-form__submit { width: 220px; }
}

@media (max-width: 767px) {
  .contacts-form { padding: 20px; }
  .contacts-form__row { grid-template-columns: minmax(0, 1fr); }
  .contacts-form__fields, .contacts-form__row { gap: 20px; }
  .contacts-form__field { gap: 8px; }
  .contacts-form__textarea { height: 140px; padding-top: 16px; }
  .contacts-form__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .contacts-form__submit { width: 100%; height: 52px; }
}
/*end перезвоните мне*/

/*купить в 1 клик*/
/* ============ popup-order (быстрый заказ) ============ */
.popup-order {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 22px 22px;
  color: var(--color-plum, #352031);
}

.popup-order__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-right: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color: var(--color-cart, #3f2333);
}

.popup-order__title svg {
  flex-shrink: 0;
  color: var(--color-active, #763873);
}

.popup-order__product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--color-line, #e3dfe3);
  border-radius: 5px;
  background: var(--product-pale, #f6f5f6);
}

.popup-order__image {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 3px;
  background: #fff;
  object-fit: contain;
}

.popup-order__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.popup-order__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  color: var(--color-ink, #262326);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popup-order__price {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted, #69666a);
}

.popup-order__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 10px;
}

.popup-order__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup-order__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: var(--color-ink, #262326);
}

.popup-order__label span[aria-hidden="true"] {
  color: var(--color-danger, #c82c45);
}

.popup-order__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-panel-line, #d9d9d9);
  border-radius: 5px;
  background: #fff;
  color: var(--color-ink, #262326);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s cubic-bezier(.22,1,.36,1),
              box-shadow .2s cubic-bezier(.22,1,.36,1);
}

.popup-order__input::placeholder {
  color: var(--color-muted, #69666a);
  opacity: 1;
}

.popup-order__input:focus {
  outline: none;
  border-color: var(--color-active, #763873);
  box-shadow: 0 0 0 3px rgba(118, 56, 115, .15);
}

.popup-order__submit {
  width: 100%;
  height: 50px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Сообщение об успехе */
.popup-order #order-ok {
  padding: 8px 0 4px;
  text-align: center;
  color: var(--color-success, #60ae31);
}

.popup-order #order-ok h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 24px;
}

.popup-order #order-ok h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-muted, #69666a);
}

/* Адаптив */
@media (max-width: 479px) {
  .popup-order { padding: 20px 16px 16px; }
  .popup-order__title { font-size: 18px; }
  .popup-order__input,
  .popup-order__submit { height: 46px; }
}
/*end купить в 1 клик*/

/*хочу скидку*/
.modal {
  max-width: min(480px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  background: var(--color-white);
  color: var(--color-plum);
  overflow: visible;
  animation: modal-in .22s cubic-bezier(.22, 1, .36, 1);
}

.modal::backdrop {
  background: rgba(53, 32, 49, .78);
  backdrop-filter: blur(4px);
  animation: modal-backdrop-in .22s cubic-bezier(.22, 1, .36, 1);
}

/* кнопка закрытия */
.modal__close-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
}

.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--color-plum);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (hover: hover) {
  .modal__close:hover {
    background: rgb(118 56 115 / 7%);
  }
}

.modal__content {
  padding: 32px 28px 24px;
}

/* попап скидки */
.popup {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-title {
  font-size: 23px;
  font-weight: 700;
  line-height: 29px;
  color: var(--color-cart);
  text-align: center;
}

.popup-discount {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 21px;
  text-align: center;
}

.popup-discount strong {
  color: var(--color-plum);
}

.popup-text {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-ink);
  text-align: center;
}

.popup-phone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--product-pale);
  text-align: center;
}

.popup-phone-number {
  font-family: Roboto, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-plum);
}

.popup-phone-text {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 16px;
}

.popup-form form {
  margin: 0;
}

.popup-form fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.popup-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-panel-line);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
  font-size: 15px;
  line-height: 22px;
}

.popup-input::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

.popup-input.error {
  border-color: var(--color-danger);
}

.popup-submit {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 5px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  cursor: pointer;
}

@media (hover: hover) {
  .popup-submit:hover {
    background: var(--color-accent-hover);
  }
}

.popup-note {
  color: var(--color-muted);
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.popup-note a {
  color: var(--color-link);
  text-decoration: underline;
}

/* успешная отправка */
#order-ok {
  text-align: center;
}

#order-ok h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 24px;
}

#order-ok h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal::backdrop {
    animation: none;
  }
}

@media screen and (max-width: 767px) {
  .modal {
    max-width: calc(100vw - 24px);
  }

  .modal__content {
    padding: 28px 20px 20px;
  }

  .popup-title {
    font-size: 20px;
    line-height: 26px;
  }
}
/*end хочу скидку*/

.catalog-product__buy--unavailable {
  background: var(--color-muted) !important;
}

.catalog-product__info {
  gap: 2px!important;
}
/* End */
/* /local/templates/main/components/bitrix/sale.basket.basket.small/basket/style.css?1794992392329 */
/* /local/templates/main/components/bitrix/menu/left_mob/style.css?1794992392581 */
/* /local/templates/main/components/bitrix/news.list/service_mob/style.css?1794992392150 */
/* /local/templates/main/components/bitrix/menu/header_mob/style.css?1794992392581 */
/* /local/templates/main/components/bitrix/menu/header/style.css?1794992392581 */
/* /local/templates/main/components/bitrix/menu/left/style.css?1794992392581 */
/* /local/templates/main/components/bitrix/news.list/service/style.css?1794992392150 */
/* /local/templates/main/components/bitrix/news.list/certificate/style.css?1794992392150 */
/* /local/templates/main/components/bitrix/menu/bottom_mob/style.css?1794992392581 */
/* /local/templates/main/components/bitrix/menu/bottom/style.css?1794992392581 */
/* /local/templates/main/template_styles.css?179499239233275 */
