/* silver_new_v2: внутренние страницы
   Листинг = карточки как на главной; контент / товар / корзина — в той же системе. */

/* ---------- Общая панель ---------- */
body.xl-redesign #content:has(form.myCatItems),
body.xl-redesign #content:has(.xl-list-grid),
body.xl-redesign #content:has(.pagecontent),
body.xl-redesign #content:has(.ProductInfoLeft),
body.xl-redesign #content:has(h1.contentBoxHeading),
body.xl-redesign #content:has(.xl-cart-panel),
body.xl-redesign #content:has(.xl-master),
body.xl-redesign #content:has(form#contact_us),
body.xl-redesign #content:has(form#product_reviews_write),
body.xl-redesign #content:has(.xl-review),
body.xl-redesign #content:has(#checkout),
body.xl-redesign #content:has(.xl-article),
body.xl-redesign #content:has(.xl-articles-page),
body.xl-redesign #content:has(.xl-404),
body.xl-redesign #content:has(.xl-reviews) {
  background: #f9f9f9 !important;
  border-radius: 16px !important;
  padding: 18px 18px 28px !important;
  box-sizing: border-box !important;
}

/* Отступ колонок от подвала */
body.xl-redesign:not(.xl-home) .xl-footer {
  margin-top: 48px !important;
}

body.xl-redesign #content:has(form.myCatItems) > h1,
body.xl-redesign #content:has(.xl-list-grid) > h1,
body.xl-redesign #content:has(.pagecontent) > h1,
body.xl-redesign #content:has(.ProductInfoLeft) > h1,
body.xl-redesign #content h1.contentBoxHeading {
  margin: 0 0 14px !important;
  color: #0B2138 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content > .navi,
body.xl-redesign #content > p.navi,
body.xl-redesign #content .navigation {
  color: #49627A !important;
  font-size: 13px !important;
  margin: 0 0 14px !important;
}

body.xl-redesign #content .navigation a:not(.button) {
  color: #0B2138 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Единые кнопки на внутренних (НЕ для .xl-goods__cta — там стиль с главной) */
body.xl-redesign #content .pagecontent a.button,
body.xl-redesign #content .pagecontent span.button,
body.xl-redesign #content .pagecontent span.button input,
body.xl-redesign #content .pagecontent span.button button,
body.xl-redesign #content .xl-pi__cart a.button,
body.xl-redesign #content .xl-pi__cart span.button,
body.xl-redesign #content .xl-pi__cart span.button input,
body.xl-redesign #content .xl-pi__cart span.button button,
body.xl-redesign #content:has(.ProductInfoLeft) .CartBattn a.button,
body.xl-redesign #content:has(.ProductInfoLeft) .CartBattn span.button,
body.xl-redesign #content:has(.ProductInfoLeft) .CartBattn span.button input,
body.xl-redesign #content:has(.ProductInfoLeft) .CartBattn span.button button,
body.xl-redesign #content:has(.ProductInfoLeft) .navigation a.button,
body.xl-redesign #content:has(.ProductInfoLeft) .navigation span.button,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions a.button,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button input,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button button,
body.xl-redesign #content:has(form#product_reviews_write) .navigation a.button,
body.xl-redesign #content:has(form#product_reviews_write) .navigation span.button,
body.xl-redesign #content:has(form#product_reviews_write) .navigation span.button input,
body.xl-redesign #content:has(form#product_reviews_write) .navigation span.button button,
body.xl-redesign #content .xl-review__nav a.button,
body.xl-redesign #content .xl-review__nav span.button,
body.xl-redesign #content .xl-review__nav span.button input,
body.xl-redesign #content .xl-review__nav span.button button,
body.xl-redesign #content .pagecontentfooter a.button,
body.xl-redesign #content .pagecontentfooter span.button,
body.xl-redesign #content .pagecontentfooter span.button input,
body.xl-redesign #content .CartBattn a.button,
body.xl-redesign #content .CartBattn span.button,
body.xl-redesign #content .CartBattn span.button input {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 40px !important;
  margin: 0 8px 0 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  background-image: none !important;
  background-color: #ff6a00 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  box-shadow: none !important;
  cursor: pointer !important;
  overflow: visible !important;
}

body.xl-redesign #content .pagecontent a.button span,
body.xl-redesign #content .pagecontent span.button span,
body.xl-redesign #content .xl-pi__cart a.button span,
body.xl-redesign #content .xl-pi__cart span.button span,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions a.button span,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button span,
body.xl-redesign #content:has(form#product_reviews_write) .navigation a.button span,
body.xl-redesign #content:has(form#product_reviews_write) .navigation span.button span,
body.xl-redesign #content .xl-review__nav a.button span,
body.xl-redesign #content .xl-review__nav span.button span,
body.xl-redesign #content:has(.ProductInfoLeft) a.button span,
body.xl-redesign #content:has(.ProductInfoLeft) span.button span,
body.xl-redesign #content .pagecontentfooter a.button span,
body.xl-redesign #content .CartBattn a.button span,
body.xl-redesign #content .CartBattn span.button span {
  display: inline !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .pagecontent a.button:hover,
body.xl-redesign #content .xl-pi__cart a.button:hover,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions a.button:hover,
body.xl-redesign #content:has(form#product_reviews_write) .navigation a.button:hover,
body.xl-redesign #content .xl-review__nav a.button:hover,
body.xl-redesign #content:has(.ProductInfoLeft) a.button:hover,
body.xl-redesign #content .CartBattn a.button:hover,
body.xl-redesign #content .pagecontentfooter a.button:hover {
  background: #ef5310 !important;
  background-image: none !important;
  color: #fff !important;
}

/* Вторичная кнопка (Назад) */
body.xl-redesign #content .pagecontentfooter a.button {
  background: #0B2138 !important;
  background-image: none !important;
}

body.xl-redesign #content .pagecontentfooter a.button:hover {
  background: #123252 !important;
}

/* ---------- Поисковая строка на странице результатов ---------- */
body.xl-redesign #content .xl-search-panel,
body.xl-redesign #content .page.xl-search-panel {
  display: block !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.xl-redesign #content .xl-search-panel__box,
body.xl-redesign #content .page.xl-search-panel .pageItem {
  display: block !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-search-panel__form {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 0 !important;
}

body.xl-redesign #content .xl-search-panel__label {
  display: block !important;
  margin: 0 !important;
  color: #49627A !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

body.xl-redesign #content .xl-search-panel__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

body.xl-redesign #content .xl-search-panel__input {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #D9EAF5 !important;
  border-radius: 12px !important;
  background: #F4F7FA !important;
  color: #0B2138 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 44px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-search-panel__input::placeholder {
  color: #7A8FA3 !important;
}

body.xl-redesign #content .xl-search-panel__input:focus {
  outline: 0 !important;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12) !important;
}

body.xl-redesign #content .xl-search-panel__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-width: 110px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body.xl-redesign #content .xl-search-panel__btn:hover {
  background: #ef5310 !important;
}

/* ---------- Панель сортировки / фильтров листинга ---------- */
body.xl-redesign #content .xl-list-tools,
body.xl-redesign #content .page.xl-list-tools {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .page:has(> .pageItem > form.myCatItems),
body.xl-redesign #content .page:has(form.myCatItems) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  clear: both !important;
  float: none !important;
  background: transparent !important;
}

/* Не наследовать сетку карточек товаров с .page .pageItem */
body.xl-redesign #content .page.xl-list-tools .pageItem,
body.xl-redesign #content .pageItem.xl-list-toolbar,
body.xl-redesign #content .xl-list-toolbar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-flow: unset !important;
  gap: 10px 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  float: none !important;
  clear: both !important;
  overflow: visible !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-list-toolbar > * {
  float: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: auto !important;
  max-width: 100% !important;
}

body.xl-redesign #content .xl-list-toolbar__ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: #f9f9f9 !important;
  border: 1px solid #E5EAF0 !important;
}

body.xl-redesign #content .xl-list-toolbar__ico img {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  opacity: 0.85 !important;
}

body.xl-redesign #content .xl-list-filters {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 auto 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content .xl-list-filters a {
  color: #0B2138 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-list-filters select,
body.xl-redesign #content .xl-list-filters input[type="text"] {
  height: 36px !important;
  margin: 0 6px 6px 0 !important;
  padding: 0 10px !important;
  border: 1px solid #D9EAF5 !important;
  border-radius: 10px !important;
  background: #f9f9f9 !important;
  color: #0B2138 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-list-sort {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px 12px !important;
  width: auto !important;
  max-width: 100% !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
}

body.xl-redesign #content .xl-list-sort--pagesize {
  flex: 1 0 100% !important;
  margin: 6px 0 0 !important;
  padding-top: 14px !important;
  border-top: 1px solid #E5EAF0 !important;
}

body.xl-redesign #content .xl-list-sort--pagesize .xl-list-sort__chips {
  justify-content: flex-start !important;
}

body.xl-redesign #content .xl-list-sort__label {
  color: #49627A !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

body.xl-redesign #content .xl-list-sort__chips {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

body.xl-redesign #content .xl-list-chip {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid #D9EAF5 !important;
  border-radius: 999px !important;
  background: #f9f9f9 !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-list-chip:hover {
  background: #E8F3FA !important;
  border-color: #BFDCEB !important;
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-list-chip.is-active,
body.xl-redesign #content .xl-list-chip[aria-current="true"] {
  background: #ff6a00 !important;
  border-color: #ff6a00 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.28) !important;
}

body.xl-redesign #content .xl-list-chip.is-active:hover,
body.xl-redesign #content .xl-list-chip[aria-current="true"]:hover {
  background: #ef5310 !important;
  border-color: #ef5310 !important;
  color: #fff !important;
}

/* Левые фильтры каталога — как в test=1, вертикальным списком */
body.xl-redesign #left .xl-side__filters {
  display: grid !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #E5EAF0 !important;
}

body.xl-redesign #left .xl-side__filter-row {
  display: contents !important;
}

body.xl-redesign #left .xl-side__filter {
  flex: none !important;
  display: grid !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 10px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 9px 8px 9px 2px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  grid-template-columns: 22px 1fr 14px !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #left .xl-side__filter-row .xl-side__filter {
  flex: none !important;
  display: grid !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 10px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 9px 8px 9px 2px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  grid-template-columns: 22px 1fr 14px !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #left .xl-side__filter-row .xl-side__filter img {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
}

body.xl-redesign #left .xl-side__filter > img {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
}

body.xl-redesign #left .xl-side__filter-row .xl-side__filter span {
  display: inline !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body.xl-redesign #left .xl-side__filter > span {
  display: inline !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body.xl-redesign #left .xl-side__filter:hover,
body.xl-redesign #left .xl-side__filter.is-open {
  background: #E8F3FA !important;
  border-color: #BFDCEB !important;
  box-shadow: none !important;
  color: #0B2138 !important;
}

body.xl-redesign #left .xl-side__deal img,
body.xl-redesign .xl-side__deal img {
  width: 36px !important;
  height: 36px !important;
  padding: 6px !important;
  border-radius: 10px !important;
  background: #fff !important;
  filter: none !important;
  box-sizing: border-box !important;
  flex: 0 0 36px !important;
}

body.xl-redesign .xl-callback,
body.xl-redesign .xl-callback.is-open {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.xl-redesign .xl-callback__backdrop {
  background: rgba(11, 33, 56, 0.22) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
}

body.xl-redesign #left .xl-side__drop.is-open {
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  border-left: 1px solid #E5EAF0 !important;
}

body.xl-redesign #left .xl-side__drop .xl-side__list a {
  border-radius: 10px !important;
}

body.xl-redesign #left .xl-side__drop .xl-side__list a:hover {
  background: #f9f9f9 !important;
}

/* ---------- Листинг: сетка и карточки ---------- */
body.xl-redesign #content .page .pageItem:has(> form.myCatItems),
body.xl-redesign #content .pageItem:has(> form.myCatItems) {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.xl-redesign #content form.myCatItems,
body.xl-redesign form.myCatItems.xl-list-grid,
body.xl-redesign form.myCatItems {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content form.myCatItems .xl-goods__card {
  padding: 14px !important;
  border-color: #E5EAF0 !important;
  border-radius: 16px !important;
  min-height: 100% !important;
}

body.xl-redesign #content form.myCatItems .xl-goods__pic {
  height: 148px !important;
  max-height: 148px !important;
  margin: 0 0 12px !important;
  background: #f9f9f9 !important;
}

body.xl-redesign #content form.myCatItems .xl-goods__pic img {
  max-height: 128px !important;
}

body.xl-redesign #content form.myCatItems .xl-goods__name {
  margin: 0 0 6px !important;
  min-height: calc(1.3em * 2) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content form.myCatItems .xl-goods__name a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: #0B2138 !important;
  word-break: break-word !important;
}

body.xl-redesign #content form.myCatItems .xl-goods__meta {
  margin: 0 0 12px !important;
  min-height: 4em !important;
  max-height: 4em !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #49627A !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word !important;
}

body.xl-redesign #content form.myCatItems .xl-goods__price {
  color: #0B2138 !important;
  margin: 0 0 10px !important;
}

/* SEO-блок: без «дыр» от br, нормальный отступ до футера */
body.xl-redesign #content:has(form.myCatItems) {
  padding-bottom: 40px !important;
  margin-bottom: 24px !important;
}

body.xl-redesign #content:has(.xl-pi),
body.xl-redesign #content:has(.ProductInfoLeft),
body.xl-redesign #content.xl-pi-page {
  padding: 18px 8px 40px !important;
  margin-bottom: 24px !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

body.xl-redesign #content .xl-list-seo {
  clear: both !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.xl-redesign #content .xl-list-seo .pageItem {
  display: block !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  float: none !important;
}

body.xl-redesign #content .xl-list-seo__text,
body.xl-redesign #content .xl-list-seo__text p,
body.xl-redesign #content .xl-list-seo__text span {
  margin: 0 0 0.75em !important;
  color: #49627A !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body.xl-redesign #content .xl-list-seo__text br {
  display: none !important;
}

body.xl-redesign #content .xl-list-seo__text p:empty,
body.xl-redesign #content .xl-list-seo__text p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.xl-redesign #content .xl-list-seo__text h2,
body.xl-redesign #content .xl-list-seo__text h3 {
  margin: 0 0 0.55em !important;
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content .xl-list-seo__text h3 {
  font-size: 16px !important;
  margin-top: 1em !important;
}

body.xl-redesign #content .xl-list-seo__text p:last-child,
body.xl-redesign #content .xl-list-seo__text > *:last-child {
  margin-bottom: 0 !important;
}

body.xl-redesign #content:has(form.myCatItems) + *,
body.xl-redesign #content:has(form.myCatItems) .navigation {
  clear: both !important;
  margin-bottom: 16px !important;
}

body.xl-redesign #content .xl-list-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 4px 12px !important;
  margin: 8px 0 16px !important;
}

body.xl-redesign #content .xl-list-nav__count,
body.xl-redesign #content .xl-list-nav__pages {
  float: none !important;
  display: block !important;
  margin: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.xl-redesign #content .xl-list-nav__pages {
  order: 1 !important;
}

body.xl-redesign #content .xl-list-nav__count {
  order: 2 !important;
}

body.xl-redesign #content .xl-pager,
body.xl-redesign #content .xl-list-nav,
body.xl-redesign #content .xl-reviews-nav,
body.xl-redesign #content .xl-articles-nav,
body.xl-redesign #content .navigation:has(.pageResults) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px 16px !important;
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  color: #49627A !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pager__nums {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
}

body.xl-redesign #content .xl-pager__n {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #F8FAFC !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content a.xl-pager__n:hover {
  border-color: #ff6a00 !important;
  color: #ff6a00 !important;
  background: #fff7f2 !important;
}

body.xl-redesign #content .xl-pager__n.is-current {
  background: #ff6a00 !important;
  border-color: #ff6a00 !important;
  color: #fff !important;
}

body.xl-redesign #content .xl-pager__n--dir {
  min-width: auto !important;
}

body.xl-redesign #content .xl-pager__n--more {
  min-width: 36px !important;
  background: transparent !important;
  border-color: transparent !important;
}

body.xl-redesign #content .xl-pager__meta {
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.xl-redesign #content .navigation .right {
  float: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  margin: 0 !important;
}

body.xl-redesign #content .xl-list-nav span span,
body.xl-redesign #content .xl-reviews-nav span:not(.xl-pager__n),
body.xl-redesign #content .xl-articles-nav span:not(.xl-pager__n),
body.xl-redesign #content .navigation:has(.pageResults) > span span {
  display: inline !important;
  float: none !important;
  width: auto !important;
}

body.xl-redesign #content span.xl-pager__n {
  display: inline-flex !important;
  vertical-align: middle !important;
}

body.xl-redesign #content a.pageResults,
body.xl-redesign #content .xl-list-nav b,
body.xl-redesign #content .xl-reviews-nav b,
body.xl-redesign #content .xl-articles-nav b,
body.xl-redesign #content .navigation:has(.pageResults) > b,
body.xl-redesign #content .navigation .right b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #F8FAFC !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-list-nav b,
body.xl-redesign #content .xl-reviews-nav b,
body.xl-redesign #content .xl-articles-nav b,
body.xl-redesign #content .navigation .right b,
body.xl-redesign #content .navigation:has(.pageResults) b {
  background: #ff6a00 !important;
  border-color: #ff6a00 !important;
  color: #fff !important;
}

body.xl-redesign #content a.pageResults:hover {
  border-color: #ff6a00 !important;
  color: #ff6a00 !important;
  background: #fff7f2 !important;
}

/* ---------- Контентные страницы ---------- */
body.xl-redesign #content .page {
  background: transparent !important;
  border: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body.xl-redesign #content .pagecontent {
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  padding: 20px 22px !important;
  color: #0B2138 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .pagecontent p {
  margin: 0 0 0.85em !important;
  padding: 0 !important;
}

body.xl-redesign #content .pagecontent p:empty,
body.xl-redesign #content .pagecontent p:blank {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.xl-redesign #content .pagecontent br {
  line-height: 1.2 !important;
}

body.xl-redesign #content .pagecontent ul,
body.xl-redesign #content .pagecontent ol {
  margin: 0 0 1em !important;
  padding-left: 1.2em !important;
}

body.xl-redesign #content .pagecontent li {
  margin: 0 0 0.35em !important;
}

body.xl-redesign #content .pagecontent a:not(.button) {
  color: #0B2138 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

body.xl-redesign #content .pagecontent h2,
body.xl-redesign #content .pagecontent h3,
body.xl-redesign #content .pagecontent h4 {
  margin: 1.25em 0 0.45em !important;
  color: #0B2138 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .pagecontent img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
}

body.xl-redesign #content .pagecontentfooter {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  position: relative !important;
  z-index: 2 !important;
}

body.xl-redesign #content .pagecontentfooter a.button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ---------- Контакты ---------- */
body.xl-redesign #content:has(form#contact_us) {
  overflow: hidden !important;
}

body.xl-redesign #content:has(form#contact_us) > h1 {
  margin: 0 0 16px !important;
}

body.xl-redesign #content form#contact_us .pagecontent {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

body.xl-redesign #content form#contact_us .pagecontent table,
body.xl-redesign #content form#contact_us .pagecontent [style] {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  color: inherit !important;
  font-size: inherit !important;
}

body.xl-redesign #content .xl-contact__info {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

body.xl-redesign #content .xl-contact__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.xl-redesign #content .xl-contact__card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-height: 112px !important;
  padding: 16px 58px 16px 16px !important;
  background: #F8FAFC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-contact__ico {
  position: absolute !important;
  top: 16px !important;
  right: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: #fff7f2 !important;
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-contact__ico svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
}

body.xl-redesign #content .xl-contact__body,
body.xl-redesign #content .xl-contact__vals {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-contact__k {
  color: #6B7F93 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.xl-redesign #content .xl-contact__v,
body.xl-redesign #content .pagecontent a.xl-contact__v {
  color: #0B2138 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-contact__card a.xl-contact__v:hover {
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-contact__note,
body.xl-redesign #content .xl-contact__sign {
  margin: 0 !important;
  color: #49627A !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content .xl-contact__sign {
  color: #0B2138 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content .xl-contact__legal {
  margin: 0 !important;
  padding: 10px 12px !important;
  background: #F8FAFC !important;
  border-radius: 12px !important;
  color: #49627A !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content .xl-contact__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

body.xl-redesign #content .pagecontent a.xl-contact__cta,
body.xl-redesign #content a.xl-contact__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  width: auto !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .pagecontent a.xl-contact__cta:hover,
body.xl-redesign #content a.xl-contact__cta:hover {
  background: #ef5310 !important;
  color: #fff !important;
}

body.xl-redesign #content .pagecontent a.xl-contact__req,
body.xl-redesign #content a.xl-contact__req {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .pagecontent a.xl-contact__req:hover,
body.xl-redesign #content a.xl-contact__req:hover {
  border-color: #ff6a00 !important;
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-contact__form-title {
  margin: 8px 0 0 !important;
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content form#contact_us fieldset.form,
body.xl-redesign #content .xl-contact__form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 14px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.xl-redesign #content form#contact_us fieldset.form p,
body.xl-redesign #content .xl-contact__field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-contact__field:has(textarea),
body.xl-redesign #content form#contact_us fieldset.form p:has(textarea),
body.xl-redesign #content form#contact_us #offer,
body.xl-redesign #content form#contact_us .xl-contact__offer {
  grid-column: 1 / -1 !important;
}

body.xl-redesign #content form#contact_us fieldset.form label,
body.xl-redesign #content .xl-contact__field label {
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content form#contact_us input[type="text"],
body.xl-redesign #content form#contact_us input[type="email"],
body.xl-redesign #content form#contact_us textarea {
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

body.xl-redesign #content form#contact_us textarea {
  height: 140px !important;
  padding: 12px !important;
  resize: vertical !important;
}

body.xl-redesign #content form#contact_us input:focus,
body.xl-redesign #content form#contact_us textarea:focus {
  outline: 0 !important;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.16) !important;
}

body.xl-redesign #content form#contact_us .xl-contact__offer,
body.xl-redesign #content form#contact_us #offer {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content form#contact_us #offer input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 8px 0 0 !important;
  accent-color: #ff6a00 !important;
  vertical-align: middle !important;
}

body.xl-redesign #content:has(form#contact_us) .pagecontentfooter {
  justify-content: flex-start !important;
  margin-top: 4px !important;
}

body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button .button_left,
body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button .button_right,
body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button img {
  display: none !important;
}

body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button * {
  background-image: none !important;
}

body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button,
body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button > span,
body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button button,
body.xl-redesign #content:has(form#contact_us) .xl-contact__send,
body.xl-redesign #content:has(form#contact_us) .xl-contact__send button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button:hover,
body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button:hover button {
  background: #ef5310 !important;
  color: #fff !important;
}

body.xl-redesign #content:has(form#contact_us) .pagecontentfooter button img {
  display: none !important;
}

body.xl-redesign #content form#contact_us .form-anti-bot,
body.xl-redesign #content form#contact_us .form-anti-bot-2 {
  display: none !important;
}

/* ---------- Статьи ---------- */
body.xl-redesign #content:has(.xl-article),
body.xl-redesign #content:has(.xl-articles-page) {
  color: #0B2138 !important;
  overflow: hidden !important;
}

body.xl-redesign #content .xl-articles-page > h1,
body.xl-redesign #content .xl-article > h1 {
  margin: 0 0 16px !important;
  color: #0B2138 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-articles-kicker {
  margin: 0 0 10px !important;
  color: #49627A !important;
}

body.xl-redesign #content .xl-articles-intro,
body.xl-redesign #content .xl-article {
  margin: 0 0 16px !important;
  padding: 20px 22px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-articles-intro,
body.xl-redesign #content .xl-article__body,
body.xl-redesign #content .xl-articles-intro p,
body.xl-redesign #content .xl-article__body p {
  color: #0B2138 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

body.xl-redesign #content .xl-articles-intro p,
body.xl-redesign #content .xl-article__body p {
  margin: 0 0 0.9em !important;
}

body.xl-redesign #content .xl-articles-intro p:last-child,
body.xl-redesign #content .xl-article__body p:last-child {
  margin-bottom: 0 !important;
}

body.xl-redesign #content .xl-articles-intro span[style],
body.xl-redesign #content .xl-articles-intro font,
body.xl-redesign #content .xl-article__body span[style],
body.xl-redesign #content .xl-article__body font {
  color: inherit !important;
  font-size: inherit !important;
}

body.xl-redesign #content .xl-articles-intro h2,
body.xl-redesign #content .xl-article__body h2,
body.xl-redesign #content .xl-article__body h3 {
  margin: 1.1em 0 0.4em !important;
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-articles-list__h {
  margin: 0 0 12px !important;
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content .xl-articles-intro {
  margin: 20px 0 0 !important;
}

body.xl-redesign #content .xl-articles-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}

body.xl-redesign #content a.xl-articles-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 16px 18px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  color: #0B2138 !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
}

body.xl-redesign #content a.xl-articles-card:hover {
  border-color: #ff6a00 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-articles-card__title {
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-articles-card__excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: #49627A !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

body.xl-redesign #content .xl-articles-card__more {
  margin-top: 2px !important;
  color: #ff6a00 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-articles-card__meta {
  color: #6B7F93 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.xl-redesign #content .xl-articles-nav {
  color: #49627A !important;
  font-size: 13px !important;
}

body.xl-redesign #content .xl-article__back {
  margin: 0 0 12px !important;
}

body.xl-redesign #content .xl-article__back a {
  display: inline-flex !important;
  align-items: center !important;
  color: #49627A !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-article__back a:hover {
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-article__back--foot {
  margin: 22px 0 0 !important;
  padding-top: 18px !important;
  border-top: 1px solid #EEF2F6 !important;
}

body.xl-redesign #content .xl-article__back--foot a {
  height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #F8FAFC !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-article__back--foot a:hover {
  border-color: #ff6a00 !important;
  color: #ff6a00 !important;
  background: #fff7f2 !important;
}

body.xl-redesign #content .addthis_inline_share_toolbox:empty,
body.xl-redesign #content .xl-article__share:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

body.xl-redesign #content .xl-article__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  margin: 0 0 16px !important;
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.xl-redesign #content .xl-article__meta a {
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-article__url {
  margin: 16px 0 0 !important;
  font-size: 14px !important;
}

body.xl-redesign #content .xl-article__share,
body.xl-redesign #content .addthis_inline_share_toolbox {
  margin: 16px 0 0 !important;
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
}

/* Статья/листинг не должны попадать в сетку карточек товаров */
body.xl-redesign #content:has(.xl-article) .page .pageItem,
body.xl-redesign #content:has(.xl-articles-page) .page .pageItem,
body.xl-redesign #content .page .pageItem:not(:has(dl)):not(:has(form.myCatItems)):not(:has(.xl-goods__card)) {
  display: block !important;
  grid-template-columns: none !important;
  float: none !important;
  width: 100% !important;
  gap: 0 !important;
}

/* ---------- 404 ---------- */
body.xl-redesign #content:has(.xl-404) .xl-pagehead h1 {
  display: none !important;
}

body.xl-redesign #content .xl-404 {
  margin: 0 auto !important;
  padding: 28px 24px 32px !important;
  max-width: 640px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  text-align: center !important;
  color: #0B2138 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-404__code {
  margin: 0 0 6px !important;
  color: #ff6a00 !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
}

body.xl-redesign #content .xl-404 > h1 {
  margin: 0 0 10px !important;
  color: #0B2138 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-404__text {
  margin: 0 0 18px !important;
  color: #49627A !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content .xl-404__search {
  display: flex !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
}

body.xl-redesign #content .xl-404__search input[type="text"],
body.xl-redesign #content .xl-404__search input[name="keywords"] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-404__search button,
body.xl-redesign #content .xl-404__submit a.button,
body.xl-redesign #content .xl-404__submit span.button,
body.xl-redesign #content .xl-404__submit span.button input,
body.xl-redesign #content .xl-404__submit span.button button {
  flex: 0 0 auto !important;
  height: 44px !important;
  min-width: 110px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0B2138 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

body.xl-redesign #content .xl-404__cats {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 0 20px !important;
}

body.xl-redesign #content .xl-404__cats a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 999px !important;
  background: #F8FAFC !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-404__cats a:hover {
  border-color: #ff6a00 !important;
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-404__home,
body.xl-redesign #content .xl-404__homewrap a.button,
body.xl-redesign #content .xl-404__homewrap span.button,
body.xl-redesign #content .xl-404__homewrap span.button input,
body.xl-redesign #content .xl-404__homewrap span.button button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  min-width: 180px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-404__home:hover,
body.xl-redesign #content .xl-404__homewrap a.button:hover {
  background: #ef5310 !important;
  color: #fff !important;
}

body.xl-redesign #content .xl-404 fieldset.form,
body.xl-redesign #content .xl-404 legend,
body.xl-redesign #content .xl-404 .page,
body.xl-redesign #content .xl-404 .pagecontent {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ---------- Отзывы (reviews.php) ---------- */
body.xl-redesign #content .xl-reviews > h1 {
  margin: 0 0 10px !important;
  color: #0B2138 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-reviews__lead,
body.xl-redesign #content .xl-reviews__empty {
  margin: 0 0 16px !important;
  color: #49627A !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content .xl-reviews-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}

body.xl-redesign #content .xl-reviews-card {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-reviews-card__pic {
  display: block !important;
  width: 88px !important;
  height: 88px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #F8FAFC !important;
}

body.xl-redesign #content .xl-reviews-card__pic img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border: 0 !important;
}

body.xl-redesign #content .xl-reviews-card__body {
  min-width: 0 !important;
}

body.xl-redesign #content .xl-reviews-card__product {
  display: inline-block !important;
  margin: 0 0 6px !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-reviews-card__product:hover {
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-reviews-card__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 12px !important;
  margin: 0 0 8px !important;
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.xl-redesign #content .xl-reviews-card__rating img {
  height: 14px !important;
  width: auto !important;
  vertical-align: middle !important;
}

body.xl-redesign #content .xl-reviews-card__text {
  color: #0B2138 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content .xl-reviews-nav {
  color: #49627A !important;
  font-size: 13px !important;
}

/* ---------- Форма отзыва ---------- */
body.xl-redesign #content:has(form#product_reviews_write),
body.xl-redesign #content:has(.xl-review) {
  padding-bottom: 40px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
}

body.xl-redesign #content:has(form#product_reviews_write) > h1,
body.xl-redesign #content form#product_reviews_write {
  float: none !important;
  clear: both !important;
}

body.xl-redesign #content .xl-review {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 22px 24px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-review__meta {
  display: grid !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  background: #F4F7FA !important;
  border-radius: 12px !important;
}

body.xl-redesign #content .xl-review__row {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content .xl-review__row span {
  color: #6B7F93 !important;
  font-weight: 700 !important;
  margin-right: 6px !important;
}

body.xl-redesign #content .xl-review__label {
  display: block !important;
  margin: 0 !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-review__field textarea,
body.xl-redesign #content form#product_reviews_write textarea {
  display: block !important;
  width: 100% !important;
  min-height: 160px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  resize: vertical !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-review__field textarea:focus,
body.xl-redesign #content form#product_reviews_write textarea:focus,
body.xl-redesign #content .xl-review__field input:focus,
body.xl-redesign #content form#product_reviews_write input[type="text"]:focus {
  outline: 0 !important;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12) !important;
}

body.xl-redesign #content .xl-review__note {
  margin: -6px 0 0 !important;
  color: #64748B !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content .xl-review__note .bold,
body.xl-redesign #content .xl-review__note b,
body.xl-redesign #content .xl-review__note strong {
  color: #C2410C !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-review__rating {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.xl-redesign #content .xl-review__stars {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 14px 14px 12px !important;
  background: #F4F7FA !important;
  border-radius: 12px !important;
}

body.xl-redesign #content .xl-review__radios {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-review__hint {
  display: none !important;
}

body.xl-redesign #content .xl-review__star {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 8px 4px 6px !important;
  border-radius: 12px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  cursor: pointer !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-review__star:hover,
body.xl-redesign #content .xl-review__star:has(input:focus-visible) {
  border-color: #ffd0a8 !important;
  background: #FFF7F0 !important;
}

body.xl-redesign #content .xl-review__star.is-on {
  border-color: #ffd0a8 !important;
  background: #FFF7F0 !important;
}

body.xl-redesign #content .xl-review__stars input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  appearance: none !important;
}

body.xl-redesign #content .xl-review__star-ico {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  background: #D6DEE8 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.7 6.1 6.6.7-5 4.6 1.4 6.5L12 17.4 6.3 20.5 7.7 14 2.7 9.4l6.6-.7L12 2.6z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.7 6.1 6.6.7-5 4.6 1.4 6.5L12 17.4 6.3 20.5 7.7 14 2.7 9.4l6.6-.7L12 2.6z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.xl-redesign #content .xl-review__star.is-on .xl-review__star-ico {
  background: #ff6a00 !important;
}

body.xl-redesign #content .xl-review__star-txt {
  color: #6B7F93 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-review__star.is-on .xl-review__star-txt {
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-review__picked {
  margin: 6px 0 0 !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.xl-redesign #content .xl-review__captcha {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.xl-redesign #content .xl-review__captcha-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

body.xl-redesign #content .xl-review__captcha img,
body.xl-redesign #content form#product_reviews_write img[name="captcha"] {
  display: block !important;
  height: 44px !important;
  width: auto !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #fff !important;
}

body.xl-redesign #content .xl-review__captcha-row a {
  color: #ff6a00 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-review__captcha-row a:hover {
  color: #ef5310 !important;
}

body.xl-redesign #content .xl-review__field--code input,
body.xl-redesign #content form#product_reviews_write input#captcha,
body.xl-redesign #content form#product_reviews_write input[name="captcha"] {
  display: block !important;
  width: 180px !important;
  max-width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content form#product_reviews_write .form-anti-bot,
body.xl-redesign #content form#product_reviews_write .form-anti-bot-2 {
  display: none !important;
}

body.xl-redesign #content .xl-review__nav,
body.xl-redesign #content form#product_reviews_write .navigation {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

body.xl-redesign #content .xl-review__nav .right,
body.xl-redesign #content form#product_reviews_write .navigation .right {
  float: none !important;
  display: contents !important;
}

body.xl-redesign #content .xl-review__nav a.button,
body.xl-redesign #content form#product_reviews_write .navigation a.button {
  background: #0B2138 !important;
  background-image: none !important;
  margin: 0 !important;
}

body.xl-redesign #content .xl-review__nav a.button:hover,
body.xl-redesign #content form#product_reviews_write .navigation a.button:hover {
  background: #123252 !important;
}

body.xl-redesign #content .xl-review__nav span.button,
body.xl-redesign #content form#product_reviews_write .navigation span.button,
body.xl-redesign #content .xl-review__nav span.button input,
body.xl-redesign #content form#product_reviews_write .navigation span.button input {
  margin: 0 !important;
}

body.xl-redesign #content:has(form#product_reviews_write) .contacterror,
body.xl-redesign #content .xl-review + .contacterror {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 10px 12px !important;
  background: #fff8f8 !important;
  border: 1px solid #f3d4d8 !important;
  border-radius: 10px !important;
  color: #9f1239 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* ---------- Карточка товара (макет xl-pi) ---------- */

body.xl-redesign #content.xl-pi-page {
  background: #f9f9f9 !important;
  border-radius: 16px !important;
  padding: 16px 16px 40px !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  float: none !important;
  clear: both !important;
}

body.xl-redesign #content.xl-pi-page::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

body.xl-redesign #content.xl-pi-page .page,
body.xl-redesign #content.xl-pi-page .pageItem,
body.xl-redesign #content.xl-pi-page .ProductInfoLeft {
  float: none !important;
  clear: both !important;
}

body.xl-redesign #content.xl-pi-page > h1.contentBoxHeading,
body.xl-redesign #content.xl-pi-page form > h1.contentBoxHeading {
  margin: 0 0 10px !important;
  color: #0B2138 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-pi {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  float: none !important;
  clear: both !important;
}

body.xl-redesign #content .xl-pi__tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-shadow: 0 4px 14px rgba(7, 26, 47, 0.04) !important;
  list-style: none !important;
}

body.xl-redesign #content .pagecontent .xl-pi__tabs a,
body.xl-redesign #content .xl-pi__tabs a,
body.xl-redesign #content .xl-pi__tab {
  position: relative !important;
  display: inline-flex !important;
  flex: 1 1 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 10px 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  color: #1A2B48 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color .15s ease !important;
}

body.xl-redesign #content .xl-pi__tabs a + a::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 1px !important;
  background: #EEEEEE !important;
}

body.xl-redesign #content .xl-pi__tabs a:hover {
  color: #0B2138 !important;
  background: #FAFBFC !important;
}

body.xl-redesign #content .xl-pi__tabs a.is-active,
body.xl-redesign #content .xl-pi__tab.is-active {
  color: #1A2B48 !important;
  background: transparent !important;
}

body.xl-redesign #content .xl-pi__tabs a.is-active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 3px !important;
  background: #ff6a00 !important;
}

body.xl-redesign #content .xl-pi__tab-ico {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #1A2B48 !important;
  -webkit-mask: center / contain no-repeat !important;
  mask: center / contain no-repeat !important;
}

body.xl-redesign #content .xl-pi__tabs a.is-active .xl-pi__tab-ico {
  background-color: #ff6a00 !important;
}

body.xl-redesign #content .xl-pi__tab--info .xl-pi__tab-ico {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Ccircle cx='12' cy='8' r='.8' fill='%23000' stroke='none'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Ccircle cx='12' cy='8' r='.8' fill='%23000' stroke='none'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content .xl-pi__tab--play .xl-pi__tab-ico {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='3'/%3E%3Cpath d='M10 9.5v5l5-2.5-5-2.5z' fill='%23000' stroke='none'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='3'/%3E%3Cpath d='M10 9.5v5l5-2.5-5-2.5z' fill='%23000' stroke='none'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content .xl-pi__tab--text .xl-pi__tab-ico {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 7h14M5 12h14M5 17h9'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 7h14M5 12h14M5 17h9'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content .xl-pi__tab--star .xl-pi__tab-ico {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3.6l2.4 4.9 5.4.8-3.9 3.8.9 5.4L12 16.1 7.2 18.5l.9-5.4L4.2 9.3l5.4-.8L12 3.6z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3.6l2.4 4.9 5.4.8-3.9 3.8.9 5.4L12 16.1 7.2 18.5l.9-5.4L4.2 9.3l5.4-.8L12 3.6z'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content .xl-pi__tab--gift .xl-pi__tab-ico {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='9' rx='1.5'/%3E%3Cpath d='M12 7v13M4 11h16'/%3E%3Cpath d='M12 7c0-2-1.2-3.5-3-3.5S6 5.2 7.2 7H12zm0 0c0-2 1.2-3.5 3-3.5S18 5.2 16.8 7H12z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='9' rx='1.5'/%3E%3Cpath d='M12 7v13M4 11h16'/%3E%3Cpath d='M12 7c0-2-1.2-3.5-3-3.5S6 5.2 7.2 7H12zm0 0c0-2 1.2-3.5 3-3.5S18 5.2 16.8 7H12z'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content .xl-pi__tab-txt {
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

body.xl-redesign #content .xl-pi__hero {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr) !important;
  gap: 20px 24px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 18px !important;
  background: #F4F7FA !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(7, 26, 47, 0.05) !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__media {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-pi__media > a.lightbox {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 320px !important;
  padding: 16px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-pi__media img#img {
  display: block !important;
  max-width: 100% !important;
  max-height: 360px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

body.xl-redesign #content .xl-pi__media a.lightbox img[src*="zoom.gif"] {
  position: absolute !important;
  left: 12px !important;
  bottom: 12px !important;
  width: 28px !important;
  height: auto !important;
  padding: 6px !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.95) !important;
  box-shadow: 0 2px 8px rgba(7,26,47,.12) !important;
}

body.xl-redesign #content .xl-pi__media .extra_effects { display: none !important; }

body.xl-redesign #content .xl-pi__panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-pi__status {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 12px !important;
}

body.xl-redesign #content .xl-pi__badge {
  display: inline-flex !important;
  align-items: center !important;
  height: 26px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  background: #E8F8EF !important;
  color: #15803D !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-pi__badge--oos {
  background: #F1F5F9 !important;
  color: #64748B !important;
}

body.xl-redesign #content .xl-pi__sku {
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.xl-redesign #content .xl-pi__sku b {
  color: #0B2138 !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-pi__price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 10px !important;
  color: #0B2138 !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}

body.xl-redesign #content .xl-pi__price-now {
  color: #0B2138 !important;
  font-size: 32px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-pi__price .b-rub {
  font-size: 20px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-pi__price-free,
body.xl-redesign #content .xl-pi__price font,
body.xl-redesign #content .xl-pi__price .xl-pi__price-save {
  display: block !important;
  flex: 1 0 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #C2410C !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

body.xl-redesign #content .xl-pi__price-free {
  color: #64748B !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-pi__price-old,
body.xl-redesign #content .xl-pi__price .productOldPrice,
body.xl-redesign #content .xl-pi__price .productsOldPrice,
body.xl-redesign #content .xl-pi__price s,
body.xl-redesign #content .xl-pi__price strike,
body.xl-redesign #content .xl-pi__price del {
  color: #94A3B8 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
}

body.xl-redesign #content .xl-pi__cart {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  float: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__cart .CartContentRight {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.xl-redesign #content .xl-pi__qty.xl-goods__qty,
body.xl-redesign #content .xl-pi__cart .xl-goods__qty {
  display: grid !important;
  grid-template-columns: 30px 1fr 30px !important;
  height: 40px !important;
  width: 104px !important;
  max-width: 104px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__cart .xl-goods__qty-btn {
  border: 0 !important;
  background: #F8FAFC !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
}

body.xl-redesign #content .xl-pi__cart .xl-goods__qty input,
body.xl-redesign #content .xl-pi__cart input[name="products_qty"] {
  width: 100% !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #E5EAF0 !important;
  border-right: 1px solid #E5EAF0 !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0B2138 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__cart a.button,
body.xl-redesign #content .xl-pi__cart span.button,
body.xl-redesign #content .xl-pi__cart span.button input,
body.xl-redesign #content .xl-pi__cart span.button button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__cart a.button img {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

body.xl-redesign #content .xl-pi__cart.no-on-sklad,
body.xl-redesign #content .xl-pi__cart.no-on-skl {
  justify-content: center !important;
  padding: 12px 14px !important;
  background: #F8FAFC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  color: #64748B !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-pi__keys {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 2px !important;
}

body.xl-redesign #content .xl-pi__key {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 10px 12px !important;
  background: #F7FAFC !important;
  border: 1px solid #E8EEF4 !important;
  border-radius: 10px !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-pi__key-label {
  color: #6B7F93 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

body.xl-redesign #content .xl-pi__key-val {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

body.xl-redesign #content .xl-pi__label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #6B7F93 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

body.xl-redesign #content .xl-spec-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.xl-redesign #content .xl-spec-chip {
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #E5EAF0 !important;
  color: #1E3A5F !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-pi__swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.xl-redesign #content .xl-pi__swatch {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 0 1px #D5DEE8 !important;
}

body.xl-redesign #content .xl-pi__perks {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 16px 8px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__perk {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 0 10px !important;
  color: #0B2138 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__perk + .xl-pi__perk {
  border-left: 1px solid #EEF2F6 !important;
}

body.xl-redesign #content .xl-pi__perk img {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  margin: 0 !important;
}

body.xl-redesign #content .xl-pi__perk span {
  display: block !important;
  min-height: 2.5em !important;
}

body.xl-redesign #content .xl-pi__section {
  margin: 0 !important;
  padding: 18px 20px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-pi__section-title {
  margin: 0 0 12px !important;
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

body.xl-redesign #content .xl-pi__section-title--light { color: #fff !important; }

body.xl-redesign #content .xl-pi__video {
  padding: 14px !important;
  background: #0B2138 !important;
  border-color: #0B2138 !important;
  text-align: center !important;
}

body.xl-redesign #content .xl-pi__video-frame {
  position: relative !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #000 !important;
}

body.xl-redesign #content .xl-pi__video-play {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #111827 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23fff' fill-opacity='.18'/%3E%3Cpath d='M10 8.5v7l6-3.5-6-3.5z' fill='%23fff'/%3E%3C/svg%3E") center / 72px no-repeat !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

body.xl-redesign #content .xl-pi__video-play span {
  position: absolute !important;
  bottom: 14px !important;
  left: 0 !important;
  right: 0 !important;
  color: #fff !important;
}

body.xl-redesign #content .xl-pi__video iframe,
body.xl-redesign #content .xl-pi__video-frame iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #000 !important;
}

body.xl-redesign #content .xl-pi__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
}

body.xl-redesign #content .xl-pi__chars,
body.xl-redesign #content .xl-pi__desc {
  width: 100% !important;
  max-width: 100% !important;
}

body.xl-redesign #content .xl-pi__desc {
  color: #0B2138 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

body.xl-redesign #content .xl-pi__desc p {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body.xl-redesign #content .xl-pi__desc p:last-child { margin-bottom: 0 !important; }

body.xl-redesign #content .xl-pi__chars table {
  width: 100% !important;
  border-collapse: collapse !important;
}

body.xl-redesign #content .xl-pi__chars td {
  padding: 8px 0 !important;
  border-bottom: 1px solid #EEF2F6 !important;
  font-size: 13px !important;
  vertical-align: top !important;
}

body.xl-redesign #content .xl-pi__chars td:first-child {
  width: 42% !important;
  color: #6B7F93 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content .xl-pi__chars td:last-child {
  color: #0B2138 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-head,
body.xl-redesign #content.xl-pi-page .xl-related-heading,
body.xl-redesign #content.xl-pi-page .xl-pi__reviews-head {
  display: block !important;
  margin: 22px 0 16px !important;
  color: #0B2138 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

body.xl-redesign #xlProducts .xl-goods__card--oos,
body.xl-redesign .xl-goods[aria-label="Рекомендуемые товары"] .xl-goods__card--oos,
body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__card--oos {
  display: none !important;
}

body.xl-redesign #content.xl-pi-page .page:has(.xl-pi__related-grid) {
  margin: 0 0 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__more-head,
body.xl-redesign #content.xl-pi-page .pagecontent > b {
  display: block !important;
  margin: 22px 0 10px !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content.xl-pi-page .pageItem:has(.xl-pi__related-grid) {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__card {
  padding: 14px !important;
  border-color: #E5EAF0 !important;
  border-radius: 16px !important;
  height: auto !important;
  min-height: 100% !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__pic {
  height: 148px !important;
  max-height: 148px !important;
  margin: 0 0 12px !important;
  background: #f9f9f9 !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__pic img {
  max-height: 128px !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__name {
  margin: 0 0 6px !important;
  min-height: calc(1.3em * 2) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__meta {
  margin: 0 0 12px !important;
  min-height: 4em !important;
  max-height: 4em !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #49627A !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__price {
  color: #0B2138 !important;
  margin: 0 0 10px !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__buy {
  grid-template-columns: 84px minmax(0, 1fr) !important;
  gap: 8px !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__qty {
  width: 84px !important;
  max-width: 84px !important;
  height: 36px !important;
  grid-template-columns: 24px 1fr 24px !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__qty input {
  height: 36px !important;
  font-size: 13px !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button,
body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button:visited,
body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button:hover {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button::before {
  display: none !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button span {
  display: inline !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: #fff !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__help {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 18px 0 8px !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__help-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 12px 14px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(7, 26, 47, 0.04) !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__help-item:hover {
  border-color: #ff6a00 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__help-ico {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: #F4F7FA center / 20px no-repeat !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__help-item--safety .xl-pi__help-ico {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230B2138' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 3v6c0 5-3.4 8.4-8 9.5C7.4 20.4 4 17 4 12V6l8-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__help-item--delivery .xl-pi__help-ico {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230B2138' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h11v10H3zM14 11h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='18' r='1.6'/%3E%3Ccircle cx='17' cy='18' r='1.6'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content.xl-pi-page .xl-pi__help-item--back .xl-pi__help-ico {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230B2138' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3Cpath d='M9 12h11'/%3E%3C/svg%3E") !important;
}

body.xl-redesign #content.xl-pi-page .page:has(.pagecontent > p):not(:has(.ProductInfoLeft)):not(:has(.xl-pi)):not(:has(.xl-pi__related-grid)) .pagecontent {
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  color: #49627A !important;
  font-size: 13px !important;
}

@media (max-width: 1100px) {
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.xl-redesign #content .xl-pi__perks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 8px 0 !important;
  }
  body.xl-redesign #content .xl-pi__perk {
    padding: 12px 10px !important;
  }
  body.xl-redesign #content .xl-pi__perk:nth-child(2n+1) {
    border-left: 0 !important;
  }
  body.xl-redesign #content .xl-pi__perk:nth-child(n+3) {
    border-top: 1px solid #EEF2F6 !important;
  }
}

@media (max-width: 900px) {
  body.xl-redesign #content .xl-pi__hero,
  body.xl-redesign #content .xl-pi__body {
    grid-template-columns: 1fr !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid {
    grid-template-columns: 1fr !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__help {
    grid-template-columns: 1fr !important;
  }
  body.xl-redesign #content.xl-pi-page > h1.contentBoxHeading,
  body.xl-redesign #content.xl-pi-page form > h1.contentBoxHeading {
    font-size: 22px !important;
  }
  body.xl-redesign #content .xl-pi__price,
  body.xl-redesign #content .xl-pi__price-now { font-size: 26px !important; }
}

/* ---------- Корзина (компакт) ---------- */
body.xl-redesign #content:has(.xl-cart-panel) .page,
body.xl-redesign #content:has(.xl-cart-panel) div.navigation,
body.xl-redesign #content:has(.xl-cart-panel) span.right,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions .right {
  float: none !important;
  clear: none !important;
  position: static !important;
}

body.xl-redesign #content .xl-cart-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  column-gap: 16px !important;
  margin: 0 0 20px !important;
  padding: 14px 16px 14px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
  float: none !important;
  clear: both !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-cart-panel > .xl-cart__alert,
body.xl-redesign #content .xl-cart-panel > h1,
body.xl-redesign #content .xl-cart-panel > .xl-cart__list,
body.xl-redesign #content .xl-cart-panel > .xl-cart__empty,
body.xl-redesign #content .xl-cart-panel > .xl-cart__alert--soft {
  grid-column: 1 / -1 !important;
}

body.xl-redesign #content .xl-cart-panel h1,
body.xl-redesign #content:has(.xl-cart-panel) .xl-cart-panel h1 {
  margin: 0 0 10px !important;
  color: #0B2138 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-cart__n {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  margin-left: 8px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

body.xl-redesign #content .xl-cart__alert,
body.xl-redesign #content .xl-cart-panel .contacterror {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 8px 10px !important;
  background: #fff8f8 !important;
  border: 1px solid #f3d4d8 !important;
  border-radius: 10px !important;
  color: #9f1239 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content .xl-cart__alert--soft {
  margin-top: 12px !important;
  background: #fffaf5 !important;
  border-color: #f3e0d0 !important;
  color: #9a3412 !important;
}

body.xl-redesign #content .xl-cart__list {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #EEF2F6 !important;
}

body.xl-redesign #content .xl-cart__item {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) 96px 92px 28px !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  min-height: 64px !important;
  height: auto !important;
  max-height: none !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #F1F4F8 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
  float: none !important;
  clear: both !important;
  z-index: 1 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content .xl-cart__item:last-child {
  border-bottom: 0 !important;
}

body.xl-redesign #content .xl-cart__item:first-child {
  padding-top: 2px !important;
}

body.xl-redesign #content .xl-cart__pic {
  grid-column: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 52px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  background: #f9f9f9 !important;
  border: 1px solid #EEF2F6 !important;
  overflow: hidden !important;
  text-decoration: none !important;
  flex: 0 0 64px !important;
}

body.xl-redesign #content .xl-cart__pic img {
  display: block !important;
  max-width: 56px !important;
  max-height: 46px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border: 0 !important;
}

body.xl-redesign #content .xl-cart__info {
  grid-column: 2 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 3px !important;
}

body.xl-redesign #content .xl-cart__name {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  margin: 0 !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-cart__name .markProductOutOfStock,
body.xl-redesign #content .xl-cart__info .markProductOutOfStock {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  background: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  color: #be123c !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.xl-redesign #content .xl-cart__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 10px !important;
  margin: 0 !important;
  color: #49627A !important;
  font-size: 12px !important;
}

body.xl-redesign #content .xl-cart__video,
body.xl-redesign #content .xl-cart__time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #49627A !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-cart__video {
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-cart__video img {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  opacity: 0.7 !important;
}

body.xl-redesign #content .xl-cart__stepper.xl-goods__qty,
body.xl-redesign #content .xl-cart__stepper {
  grid-column: 3 !important;
  display: inline-grid !important;
  grid-template-columns: 28px 1fr 28px !important;
  align-items: center !important;
  width: 96px !important;
  max-width: 96px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: start !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-cart__stepper .xl-goods__qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #49627A !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

body.xl-redesign #content .xl-cart__stepper .xl-goods__qty-btn:hover {
  background: #f9f9f9 !important;
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-cart__stepper input[type="hidden"] {
  display: none !important;
}

body.xl-redesign #content .xl-cart__stepper input[type="text"],
body.xl-redesign #content .xl-cart__stepper input.input-small {
  width: 100% !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #EEF2F6 !important;
  border-right: 1px solid #EEF2F6 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #0B2138 !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
  line-height: 30px !important;
}

body.xl-redesign #content .xl-cart__stepper br,
body.xl-redesign #content .xl-cart__stepper .video,
body.xl-redesign #content .xl-cart__stepper img {
  display: none !important;
}

body.xl-redesign #content .xl-cart__price {
  grid-column: 4 !important;
  justify-self: end !important;
  text-align: right !important;
  color: #0B2138 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.xl-redesign #content .xl-cart__price .productOldPrice,
body.xl-redesign #content .xl-cart__price s,
body.xl-redesign #content .xl-cart__price strike,
body.xl-redesign #content .xl-cart__price del {
  display: block !important;
  margin: 0 0 1px !important;
  color: #49627A !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

body.xl-redesign #content .xl-cart__price font {
  display: block !important;
  margin-top: 1px !important;
  color: #c2410c !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  white-space: normal !important;
}

body.xl-redesign #content .xl-cart__del {
  grid-column: 5 !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  opacity: 0.55 !important;
}

body.xl-redesign #content .xl-cart__del input[type="checkbox"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

body.xl-redesign #content .xl-cart__del-ico {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  background-color: #7A8FA3 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 3h6M4 7h16M8 7l1 13h6l1-13M10 11v6M14 11v6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 3h6M4 7h16M8 7l1 13h6l1-13M10 11v6M14 11v6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.xl-redesign #content .xl-cart__del-txt {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

body.xl-redesign #content .xl-cart__del:hover,
body.xl-redesign #content .xl-cart__del:has(input:checked) {
  background: #fff5f0 !important;
  opacity: 1 !important;
}

body.xl-redesign #content .xl-cart__del:has(input:checked) .xl-cart__del-ico {
  background-color: #ff6a00 !important;
}

body.xl-redesign #content .xl-cart__item.is-removing {
  opacity: 0.72 !important;
  background: #fafafa !important;
}

body.xl-redesign #content .xl-cart__item.is-removing .xl-cart__name,
body.xl-redesign #content .xl-cart__item.is-removing .xl-cart__name *,
body.xl-redesign #content .xl-cart__item.is-removing .xl-cart__price,
body.xl-redesign #content .xl-cart__item.is-removing .xl-cart__meta,
body.xl-redesign #content .xl-cart__item.is-removing .xl-cart__time {
  text-decoration: line-through !important;
  color: #7A8FA3 !important;
}

body.xl-redesign #content .xl-cart__item.is-removing .xl-cart__pic {
  opacity: 0.55 !important;
  filter: grayscale(0.35) !important;
}

body.xl-redesign #content .xl-cart__item.is-qty-changed .xl-cart__stepper {
  border-color: #93c5fd !important;
  background: #eff6ff !important;
}

body.xl-redesign #content .xl-cart__footer {
  display: contents !important;
}

body.xl-redesign #content .xl-cart__bar-left {
  grid-column: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-cart__bar-right {
  grid-column: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  text-align: right !important;
}

body.xl-redesign #content .xl-cart__stat {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-cart__stat--total {
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 2px !important;
  text-align: right !important;
}

body.xl-redesign #content .xl-cart__stat-ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: #f9f9f9 !important;
  border: 1px solid #EEF2F6 !important;
  flex: 0 0 auto !important;
}

body.xl-redesign #content .xl-cart__stat-ico img {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.8 !important;
}

body.xl-redesign #content .xl-cart__stat-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}

body.xl-redesign #content .xl-cart__stat-label {
  color: #49627A !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-cart__stat-value {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-cart__stat-value--price,
body.xl-redesign #content .xl-cart__stat-value--price * {
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

body.xl-redesign #content .xl-cart__stat-value--price br {
  display: none !important;
}

body.xl-redesign #content .xl-cart__ship {
  margin: 0 !important;
  color: #49627A !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-align: right !important;
}

body.xl-redesign #content .xl-cart__show-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  max-width: 100% !important;
  color: #0B2138 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.xl-redesign #content .xl-cart__show-link img {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.8 !important;
}

body.xl-redesign #content .xl-cart__show-arrow {
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-cart__actions {
  grid-column: 2 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: none !important;
  position: relative !important;
  z-index: 2 !important;
  overflow: visible !important;
  justify-self: end !important;
}

body.xl-redesign #content .xl-cart__actions--alone {
  grid-column: 1 / -1 !important;
  margin: 12px 0 0 !important;
  justify-content: flex-start !important;
  justify-self: start !important;
}

body.xl-redesign #content .xl-cart__empty p {
  margin: 0 !important;
  color: #49627A !important;
  font-size: 13px !important;
}

body.xl-redesign #content .xl-cart__btn {
  display: contents !important;
}

body.xl-redesign #content .xl-cart-panel a.button,
body.xl-redesign #content .xl-cart-panel span.button,
body.xl-redesign #content .xl-cart-panel span.button input,
body.xl-redesign #content .xl-cart-panel span.button button,
body.xl-redesign #content .xl-cart__actions a.button,
body.xl-redesign #content .xl-cart__actions span.button,
body.xl-redesign #content .xl-cart__actions span.button input,
body.xl-redesign #content .xl-cart__actions span.button button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  position: static !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.xl-redesign #content .xl-cart__actions a.button span,
body.xl-redesign #content .xl-cart__actions span.button > span {
  display: inline !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  background-image: none !important;
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  position: static !important;
}

body.xl-redesign #content .xl-cart__actions a.button img,
body.xl-redesign #content .xl-cart__actions span.button img {
  display: none !important;
}

body.xl-redesign #content .xl-cart__btn--secondary a.button,
body.xl-redesign #content .xl-cart__btn--secondary span.button,
body.xl-redesign #content .xl-cart__btn--secondary span.button input,
body.xl-redesign #content .xl-cart__btn--secondary span.button button {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #D9EAF5 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-cart__btn--secondary a.button span,
body.xl-redesign #content .xl-cart__btn--secondary span.button > span {
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-cart__btn--secondary a.button:hover,
body.xl-redesign #content .xl-cart__btn--secondary span.button:hover {
  background: #f9f9f9 !important;
  color: #0B2138 !important;
}

/* «Пересчитать» — только после изменений, синяя; hover на button/input */
body.xl-redesign #content .xl-cart__btn--reload {
  display: none !important;
}

body.xl-redesign #content .xl-cart-panel.is-dirty .xl-cart__btn--reload {
  display: inline-flex !important;
  align-items: center !important;
}

body.xl-redesign #content .xl-cart__btn--reload a.button,
body.xl-redesign #content .xl-cart__btn--reload span.button,
body.xl-redesign #content .xl-cart__btn--reload span.button input,
body.xl-redesign #content .xl-cart__btn--reload span.button button {
  background: #2563eb !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
}

body.xl-redesign #content .xl-cart__btn--reload a.button span,
body.xl-redesign #content .xl-cart__btn--reload span.button > span {
  color: #fff !important;
  background: transparent !important;
  background-image: none !important;
}

body.xl-redesign #content .xl-cart__btn--reload a.button:hover,
body.xl-redesign #content .xl-cart__btn--reload a.button:focus,
body.xl-redesign #content .xl-cart__btn--reload span.button:hover,
body.xl-redesign #content .xl-cart__btn--reload span.button:focus-within,
body.xl-redesign #content .xl-cart__btn--reload span.button:hover input,
body.xl-redesign #content .xl-cart__btn--reload span.button:hover button,
body.xl-redesign #content .xl-cart__btn--reload span.button input:hover,
body.xl-redesign #content .xl-cart__btn--reload span.button button:hover,
body.xl-redesign #content .xl-cart__btn--reload span.button input:focus,
body.xl-redesign #content .xl-cart__btn--reload span.button button:focus {
  background: #1d4ed8 !important;
  background-image: none !important;
  color: #fff !important;
}

body.xl-redesign #content .xl-cart__btn--primary a.button:hover,
body.xl-redesign #content .xl-cart__btn--primary a.button:focus {
  background: #ef5310 !important;
  color: #fff !important;
}

/* ---------- Оформление заказа (checkout.php) ---------- */
body.xl-redesign #content:has(#checkout) {
  background: #fff !important;
  color: #0B2138 !important;
  overflow: visible !important;
  padding: 22px 24px 40px !important;
}

body.xl-redesign #content:has(#checkout) > h1,
body.xl-redesign #content #checkout > h1 {
  margin: 0 0 16px !important;
  color: #0B2138 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content #box,
body.xl-redesign #content #checkout {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  color: #0B2138 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content:has(#checkout) .xl-check-hide,
body.xl-redesign #content:has(#checkout) > .xl-mobile-sidebar,
body.xl-redesign #content:has(#checkout) > .xl-svcstack,
body.xl-redesign #content:has(#checkout) > .xl-rprod,
body.xl-redesign #content:has(#checkout) > #boxWhatsNew,
body.xl-redesign #content:has(#checkout) > #boxFeatured,
body.xl-redesign #content:has(#checkout) > #boxManufacturers,
body.xl-redesign #content:has(#checkout) > .xl-rman,
body.xl-redesign #content:has(#checkout) > .infoBlock {
  display: none !important;
}

body.xl-redesign #content #checkout > div[style] {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
  padding: 12px 14px !important;
  background: #F4F7FA !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  color: #0B2138 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content #checkout .CheckoutError,
body.xl-redesign #content #checkout .contacterror {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 14px !important;
  padding: 10px 12px !important;
  background: #fff8f8 !important;
  border: 1px solid #f3d4d8 !important;
  border-radius: 12px !important;
  color: #9f1239 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  overflow-wrap: anywhere !important;
}

body.xl-redesign #content #checkout .sm_layout_box {
  margin: 0 !important;
  padding: 12px 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid #EEF2F6 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

body.xl-redesign #content #checkout .sm_layout_box::before,
body.xl-redesign #content #checkout .sm_layout_box::after,
body.xl-redesign #content #checkout .sm_layout_box > img,
body.xl-redesign #content #checkout h2 img,
body.xl-redesign #content #checkout #shipping_modules_box img {
  display: none !important;
}

body.xl-redesign #content #checkout .sm_layout_box:last-of-type {
  border-bottom: 0 !important;
}

body.xl-redesign #content #checkout h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content #checkout fieldset.form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px 12px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.xl-redesign #content #checkout .xl-check-field--wide,
body.xl-redesign #content #checkout .xl-check-field--check,
body.xl-redesign #content #checkout #shipping_country_box,
body.xl-redesign #content #checkout #shipping_state_box,
body.xl-redesign #content #checkout #payment_country_box,
body.xl-redesign #content #checkout #conditions,
body.xl-redesign #content #checkout #offer {
  grid-column: 1 / -1 !important;
}

body.xl-redesign #content #checkout fieldset.form > #fields_2,
body.xl-redesign #content #checkout fieldset.form > .my_extra {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px 12px !important;
  grid-column: 1 / -1 !important;
  margin: 0 !important;
}

body.xl-redesign #content #checkout fieldset.form > p {
  margin: 0 !important;
}

body.xl-redesign #content #checkout fieldset.form > h2,
body.xl-redesign #content #checkout fieldset.form > legend {
  grid-column: 1 / -1 !important;
}

body.xl-redesign #content #checkout .xl-check-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body.xl-redesign #content #checkout .xl-check-field--wide,
body.xl-redesign #content #checkout .xl-check-field--check {
  grid-column: 1 / -1 !important;
}

body.xl-redesign #content #checkout .xl-check-field--check {
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

body.xl-redesign #content #checkout .xl-check-field__lbl,
body.xl-redesign #content #checkout .xl-check-field > label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #6B7F93 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content #checkout .xl-check-field__lbl .Requirement,
body.xl-redesign #content #checkout .xl-check-field > label .Requirement,
body.xl-redesign #content #checkout .Requirement,
body.xl-redesign #content #checkout span.Requirement {
  color: #ff6a00 !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.xl-redesign #content #checkout .xl-check-field__ctl {
  min-width: 0 !important;
  width: 100% !important;
}

body.xl-redesign #content #checkout .xl-check-field__ctl select {
  max-width: 100% !important;
}

body.xl-redesign #content #checkout .xl-check-field__ctl font,
body.xl-redesign #content #checkout .xl-check-field__ctl small,
body.xl-redesign #content #checkout .xl-check-field .CheckoutError,
body.xl-redesign #content #checkout .xl-check-field .contacterror {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 6px 0 0 !important;
  padding: 8px 10px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  color: #9f1239 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  line-height: 1.35 !important;
}

body.xl-redesign #content #checkout .xl-check-field--check label,
body.xl-redesign #content #checkout .xl-check-field--check {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body.xl-redesign #content #checkout fieldset.form table,
body.xl-redesign #content #checkout table {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  border-collapse: collapse !important;
}

body.xl-redesign #content #checkout fieldset.form td,
body.xl-redesign #content #checkout td {
  padding: 6px 10px 6px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

body.xl-redesign #content #checkout fieldset.form td.first,
body.xl-redesign #content #checkout fieldset.form td:first-child {
  width: 180px !important;
  color: #0B2138 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.xl-redesign #content #checkout label,
body.xl-redesign #content #checkout .bold,
body.xl-redesign #content #checkout strong {
  color: #0B2138 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content #checkout a {
  color: #0B2138 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content #checkout a:hover {
  color: #ff6a00 !important;
}

body.xl-redesign #content #checkout input[type="text"],
body.xl-redesign #content #checkout input[type="password"],
body.xl-redesign #content #checkout input[type="email"],
body.xl-redesign #content #checkout input[type="tel"],
body.xl-redesign #content #checkout select,
body.xl-redesign #content #checkout textarea {
  width: 100% !important;
  max-width: 100% !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

body.xl-redesign #content #checkout textarea,
body.xl-redesign #content #comment_box textarea {
  height: 96px !important;
  max-width: 100% !important;
  padding: 10px 12px !important;
  resize: vertical !important;
}

body.xl-redesign #content #checkout input::placeholder,
body.xl-redesign #content #checkout textarea::placeholder {
  color: #9AA8B6 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

body.xl-redesign #content #checkout input[type="text"]:focus,
body.xl-redesign #content #checkout select:focus,
body.xl-redesign #content #checkout textarea:focus {
  outline: 0 !important;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.16) !important;
}

body.xl-redesign #content #checkout .my_extra select {
  width: 100% !important;
  max-width: 100% !important;
}

body.xl-redesign #content #checkout input[type="radio"],
body.xl-redesign #content #checkout input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 8px 0 0 !important;
  accent-color: #ff6a00 !important;
  vertical-align: middle !important;
}

body.xl-redesign #content #checkout #shipping_modules_box .itemOdd,
body.xl-redesign #content #checkout #shipping_modules_box .itemEven {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 0 10px !important;
  padding: 10px 12px !important;
  background: #F8FAFC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content #checkout #shipping_modules_box .itemOdd:last-child,
body.xl-redesign #content #checkout #shipping_modules_box .itemEven:last-child {
  margin-bottom: 0 !important;
}

body.xl-redesign #content #checkout #shipping_modules_box .itemOdd > p,
body.xl-redesign #content #checkout #shipping_modules_box .itemEven > p {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

body.xl-redesign #content #checkout #shipping_modules_box .itemOdd > p:first-child,
body.xl-redesign #content #checkout #shipping_modules_box .itemEven > p:first-child {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.xl-redesign #content #checkout .xl-check-opt,
body.xl-redesign #content #checkout #payment_options > p:has(input[type="radio"]) {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  padding: 8px 10px !important;
  background: #F8FAFC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.xl-redesign #content #checkout #shipping_modules_box .xl-check-opt {
  margin: 0 !important;
  background: #fff !important;
}

body.xl-redesign #content #checkout .xl-check-opt:has(input:checked),
body.xl-redesign #content #checkout #payment_options > p:has(input:checked) {
  border-color: #ff6a00 !important;
  background: #fff7f2 !important;
}

body.xl-redesign #content #checkout #conditions,
body.xl-redesign #content #checkout #offer {
  color: #0B2138 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content #order_total_modules {
  margin-top: 8px !important;
  padding: 14px 16px !important;
  background: #F8FAFC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
}

body.xl-redesign #content #order_total_modules .contentText {
  float: none !important;
  overflow: hidden !important;
}

body.xl-redesign #content #order_total_modules .contentText > div {
  float: none !important;
  margin: 0 !important;
  max-width: 100% !important;
}

body.xl-redesign #content #order_total_modules td:last-child {
  text-align: right !important;
}

body.xl-redesign #content #order_total_modules tr:last-child td {
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content #order_total_modules table {
  width: 100% !important;
}

body.xl-redesign #content #order_total_modules td {
  padding: 4px 0 !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.xl-redesign #content:has(#checkout) .pagecontentfooter {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button .button_left,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button .button_right,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button img,
body.xl-redesign #content:has(#checkout) .pagecontentfooter a.button img,
body.xl-redesign #content:has(#checkout) .pagecontentfooter button img {
  display: none !important;
}

body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button *,
body.xl-redesign #content:has(#checkout) .pagecontentfooter a.button * {
  background-image: none !important;
}

body.xl-redesign #content:has(#checkout) .pagecontentfooter a.button,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button > span,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button button,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button input,
body.xl-redesign #content:has(#checkout) .xl-check__send,
body.xl-redesign #content:has(#checkout) .xl-check__send button,
body.xl-redesign #content:has(#checkout) .xl-check__send input,
body.xl-redesign #content #checkout .mysubmit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  width: auto !important;
  min-width: 180px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content:has(#checkout) .pagecontentfooter a.button:hover,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button:hover,
body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button:hover button,
body.xl-redesign #content #checkout .mysubmit:hover {
  background: #ef5310 !important;
  color: #fff !important;
}

/* ---------- Вход / регистрация / пароль ---------- */
body.xl-redesign #content.xl-auth-page {
  background: #fff !important;
  color: #0B2138 !important;
  overflow: visible !important;
  padding: 24px 32px 40px !important;
}

body.xl-redesign #content.xl-auth-register,
body.xl-redesign #content.xl-auth-password,
body.xl-redesign #content.xl-auth-newsletter,
body.xl-redesign #content.xl-addr-page,
body.xl-redesign #content.xl-order-page,
body.xl-redesign #content.xl-acc-page {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.xl-redesign #content.xl-auth-page .xl-pagehead {
  margin: 0 0 10px !important;
}

body.xl-redesign #content.xl-auth-page > h1 {
  margin: 0 0 20px !important;
  color: #0B2138 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content.xl-auth-page .xl-check-hide,
body.xl-redesign #content.xl-auth-page > .xl-mobile-sidebar,
body.xl-redesign #content.xl-auth-page > .xl-svcstack,
body.xl-redesign #content.xl-auth-page > .xl-rprod,
body.xl-redesign #content.xl-auth-page > #boxWhatsNew,
body.xl-redesign #content.xl-auth-page > #boxFeatured,
body.xl-redesign #content.xl-auth-page > #boxManufacturers,
body.xl-redesign #content.xl-auth-page > .xl-rman,
body.xl-redesign #content.xl-auth-page > .infoBlock {
  display: none !important;
}

body.xl-redesign #content.xl-auth-page .page,
body.xl-redesign #content.xl-auth-page .pagecontent {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.xl-redesign #content.xl-auth-register .pagecontent > br,
body.xl-redesign #content.xl-auth-password .pagecontent > br,
body.xl-redesign #content.xl-auth-page .clear {
  display: none !important;
}

body.xl-redesign #content.xl-auth-page .contacterror {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
  padding: 10px 12px !important;
  background: #fff8f8 !important;
  border: 1px solid #f3d4d8 !important;
  border-radius: 12px !important;
  color: #9f1239 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  overflow-wrap: anywhere !important;
}

body.xl-redesign #content.xl-auth-page .pagecontent > .Requirement,
body.xl-redesign #content.xl-auth-page .pagecontent > span.Requirement {
  display: block !important;
  margin: 0 0 18px !important;
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content.xl-auth-login .pagecontent {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  align-items: stretch !important;
}

body.xl-redesign #content.xl-auth-login dl.Login {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 24px 22px !important;
  background: #F8FAFC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

body.xl-redesign #content.xl-auth-login dt.Login,
body.xl-redesign #content.xl-auth-login dd {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

body.xl-redesign #content.xl-auth-login dl.Login > p {
  margin: 0 !important;
  padding: 0 !important;
}

body.xl-redesign #content.xl-auth-login dl.Login > dd:has(> a.button),
body.xl-redesign #content.xl-auth-login dl.Login > p:has(span.button),
body.xl-redesign #content.xl-auth-login dl.Login > p:has(a.button) {
  margin-top: auto !important;
}

body.xl-redesign #content.xl-auth-login .bold,
body.xl-redesign #content.xl-auth-login span.bold,
body.xl-redesign #content.xl-auth-login .xl-auth-legend {
  display: block !important;
  margin: 0 !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content.xl-auth-login dd {
  color: #4B6174 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-legend {
  grid-column: 1 / -1 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content.xl-auth-register fieldset.form,
body.xl-redesign #content.xl-addr-edit fieldset.form,
body.xl-redesign #content.xl-auth-password fieldset.form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  column-gap: 16px !important;
  row-gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 22px !important;
  padding: 0 0 22px !important;
  border: 0 !important;
  border-bottom: 1px solid #EEF2F6 !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
}

body.xl-redesign #content.xl-auth-password fieldset.form,
body.xl-redesign #content.xl-auth-login fieldset.form,
body.xl-redesign #content.xl-auth-newsletter fieldset.form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  row-gap: 14px !important;
  min-width: 0 !important;
}

body.xl-redesign #content.xl-auth-register fieldset.form:last-of-type {
  border-bottom: 0 !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field--wide,
body.xl-redesign #content.xl-auth-page .xl-auth-field--check {
  grid-column: 1 / -1 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field--check {
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field > label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #6B7F93 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field--check > label {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body.xl-redesign #content.xl-auth-page .Requirement {
  color: #ff6a00 !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field__ctl {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-captcha .xl-auth-field__ctl {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 12px !important;
}

body.xl-redesign #content.xl-auth-page img[name="captcha"],
body.xl-redesign #content.xl-auth-page img[src*="captcha"] {
  display: block !important;
  max-width: 180px !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 8px !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-captcha .xl-auth-field__ctl > a {
  font-size: 13px !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-captcha .xl-auth-field__ctl > input {
  flex: 1 1 100% !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field--check .xl-auth-field__ctl {
  width: auto !important;
  flex: 0 0 auto !important;
}

body.xl-redesign #content.xl-auth-page input[type="text"],
body.xl-redesign #content.xl-auth-page input[type="password"],
body.xl-redesign #content.xl-auth-page input[type="email"],
body.xl-redesign #content.xl-auth-page select,
body.xl-redesign #content.xl-auth-page textarea {
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

body.xl-redesign #content.xl-auth-page input::placeholder,
body.xl-redesign #content.xl-auth-page textarea::placeholder {
  color: #9AA8B6 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

body.xl-redesign #content.xl-auth-page input:focus,
body.xl-redesign #content.xl-auth-page select:focus,
body.xl-redesign #content.xl-auth-page textarea:focus {
  outline: 0 !important;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.16) !important;
}

body.xl-redesign #content.xl-auth-page input[type="checkbox"],
body.xl-redesign #content.xl-auth-page input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: #ff6a00 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-field__ctl font,
body.xl-redesign #content.xl-auth-page .xl-auth-field__ctl small,
body.xl-redesign #content.xl-auth-page .xl-auth-field .contacterror {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 6px 0 0 !important;
  padding: 8px 10px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  background: #fff8f8 !important;
  border: 1px solid #f3d4d8 !important;
  border-radius: 10px !important;
  color: #9f1239 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.xl-redesign #content.xl-auth-page a {
  color: #0B2138 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content.xl-auth-page a:hover {
  color: #ff6a00 !important;
}

body.xl-redesign #content.xl-auth-page #offer {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 4px 0 16px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content.xl-auth-page .form-anti-bot,
body.xl-redesign #content.xl-auth-page .form-anti-bot-2 {
  display: none !important;
}

body.xl-redesign #content.xl-auth-page .pagecontentfooter,
body.xl-redesign #content.xl-auth-login .pagecontent p:has(span.button),
body.xl-redesign #content.xl-auth-login .pagecontent p:has(a.button) {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  text-align: left !important;
}

body.xl-redesign #content.xl-auth-login dl.Login > p:has(a[href*="password"]) {
  margin: 2px 0 0 !important;
}

body.xl-redesign #content.xl-auth-page a.button span,
body.xl-redesign #content.xl-auth-page span.button span {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
}

body.xl-redesign #content.xl-auth-page .pagecontentfooter span.button img,
body.xl-redesign #content.xl-auth-page .pagecontentfooter a.button img,
body.xl-redesign #content.xl-auth-page span.button img,
body.xl-redesign #content.xl-auth-page a.button img {
  display: none !important;
}

body.xl-redesign #content.xl-auth-page .pagecontentfooter a.button,
body.xl-redesign #content.xl-auth-page .pagecontentfooter span.button,
body.xl-redesign #content.xl-auth-page .pagecontentfooter span.button > span,
body.xl-redesign #content.xl-auth-page .pagecontentfooter span.button button,
body.xl-redesign #content.xl-auth-page a.button,
body.xl-redesign #content.xl-auth-page span.button,
body.xl-redesign #content.xl-auth-page span.button button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  width: auto !important;
  min-width: 180px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-auth-login a.button,
body.xl-redesign #content.xl-auth-login span.button,
body.xl-redesign #content.xl-auth-login span.button button {
  width: 100% !important;
  min-width: 0 !important;
}

body.xl-redesign #content.xl-auth-page a.button:hover,
body.xl-redesign #content.xl-auth-page span.button:hover,
body.xl-redesign #content.xl-auth-page span.button:hover button,
body.xl-redesign #content.xl-auth-page .pagecontentfooter a.button:hover {
  background: #ef5310 !important;
  color: #fff !important;
}

body.xl-redesign #content.xl-auth-password .xl-auth-intro {
  margin: 0 0 20px !important;
  max-width: 560px !important;
  color: #4B6174 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content.xl-auth-password .xl-auth-intro .bold,
body.xl-redesign #content.xl-auth-password .xl-auth-intro span.bold {
  display: block !important;
  margin: 0 0 8px !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-auth-password .pagecontent {
  color: #4B6174 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content.xl-auth-password fieldset.form,
body.xl-redesign #content.xl-auth-newsletter fieldset.form {
  max-width: 560px !important;
}

body.xl-redesign #content.xl-auth-password .pagecontentfooter,
body.xl-redesign #content.xl-auth-newsletter .pagecontentfooter {
  margin-top: 18px !important;
}

body.xl-redesign #content.xl-auth-account-password .pagecontentfooter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body.xl-redesign #content.xl-auth-account-password .pagecontentfooter a.button:first-child {
  background: #F4F7FA !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-auth-account-password .pagecontentfooter a.button:first-child:hover {
  background: #E8EEF4 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-choice {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
  grid-column: 1 / -1 !important;
  margin: 4px 0 0 !important;
}

body.xl-redesign #content.xl-auth-page .xl-auth-choice .xl-auth-field--check {
  grid-column: auto !important;
  margin: 0 !important;
}

/* ---------- Адресная книга ---------- */
body.xl-redesign #content.xl-addr-page dl.AddressBook,
body.xl-redesign #content.xl-addr-page dl.AddressBookList {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 16px !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-top > h1 {
  margin: 0 !important;
}

body.xl-redesign #content.xl-addr-page a.xl-addr-add,
body.xl-redesign #content.xl-addr-page a.xl-addr-add:hover {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  white-space: nowrap !important;
  background: #ff6a00 !important;
  color: #fff !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-banner {
  margin: 0 0 20px !important;
  padding: 12px 14px !important;
  background: #EAF2FF !important;
  border-radius: 12px !important;
  color: #1E3A5F !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr {
  display: flex !important;
  flex-direction: column !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-h {
  margin: 8px 0 12px !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 0 8px !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-card {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  margin: 0 0 16px !important;
  padding: 18px 18px !important;
  background: #F7F9FC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-card__art {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: #F4F7FB url("../icons/ui/location.svg") center / 22px no-repeat !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-card__badge {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 8px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #FFF1E6 !important;
  color: #ff6a00 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-card__name {
  margin: 0 0 6px !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-card__addr {
  color: #4B6174 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-card__actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  row-gap: 10px !important;
  align-items: stretch !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-card__actions a.button,
body.xl-redesign #content.xl-addr-page .xl-addr-card__actions span.button,
body.xl-redesign #content.xl-addr-page .xl-addr-card__actions span.button button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 118px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}

body.xl-redesign #content.xl-addr-page a.xl-addr-card__edit,
body.xl-redesign #content.xl-addr-page a.xl-addr-card__edit:hover {
  background: #F4F7FA !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-addr-page a.xl-addr-card__del,
body.xl-redesign #content.xl-addr-page a.xl-addr-card__del:hover {
  background: #fff !important;
  color: #B91C1C !important;
  border: 1px solid #FECACA !important;
}

body.xl-redesign #content.xl-addr-page .xl-addr-note {
  margin: 8px 0 0 !important;
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content.xl-addr-page .pagecontentfooter {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-top: 24px !important;
}

body.xl-redesign #content.xl-addr-page .pagecontentfooter a.xl-addr-back,
body.xl-redesign #content.xl-addr-page .pagecontentfooter a.button {
  background: #F4F7FA !important;
  color: #0B2138 !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.xl-redesign #content.xl-addr-page .pagecontentfooter a.xl-addr-back:hover,
body.xl-redesign #content.xl-addr-page .pagecontentfooter a.button:hover {
  background: #E8EEF4 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-addr-edit fieldset.form:last-of-type {
  border-bottom: 0 !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
}

@media (max-width: 720px) {
  body.xl-redesign #content.xl-addr-page .xl-addr-top {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.xl-redesign #content.xl-addr-page a.xl-addr-add {
    width: 100% !important;
  }

  body.xl-redesign #content.xl-addr-page .xl-addr-card {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content.xl-addr-page .xl-addr-card__actions {
    flex-direction: row !important;
  }

  body.xl-redesign #content.xl-addr-page .xl-addr-card__actions a.button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
}

/* ---------- Информация о заказе ---------- */
body.xl-redesign #content.xl-order-page dl.ordersAddress {
  float: none !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  border: 0 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 24px !important;
  align-items: center !important;
  margin: 0 0 20px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-meta__row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 10px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-meta__k {
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-meta__v {
  color: #0B2138 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-meta__badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  background: #FFF1E6 !important;
  color: #ff6a00 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-addrs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 0 18px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-addr {
  background: #F7F9FC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-addr h3 {
  margin: 0 0 8px !important;
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-addr__body {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-methods {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 20px !important;
  margin: 0 0 8px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-method {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-method__v {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-h {
  margin: 0 0 12px !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content.xl-order-page .page + .page {
  margin-top: 22px !important;
  padding-top: 22px !important;
  border-top: 1px solid #EEF2F6 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-hist {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-hist__item {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px 12px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  background: #F7F9FC !important;
  border-radius: 12px !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-hist__date {
  color: #6B7F93 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-hist__st {
  color: #0B2138 !important;
  font-weight: 700 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-table--hidden {
  display: none !important;
}

body.xl-redesign #content.xl-order-page .xl-order-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-item {
  padding: 14px 16px !important;
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-item__name {
  margin: 0 0 6px !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-item__name em {
  display: block !important;
  margin-top: 2px !important;
  color: #6B7F93 !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-item__meta {
  margin: 0 0 8px !important;
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-item__row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-item__qty {
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-item__sum {
  color: #0B2138 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-sum {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  align-items: flex-end !important;
}

body.xl-redesign #content.xl-order-page .xl-order-sum__row {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: right !important;
}

body.xl-redesign #content.xl-order-page .xl-order-sum__row:last-child {
  margin-top: 4px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 0 12px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-table th,
body.xl-redesign #content.xl-order-page .xl-order-table td {
  padding: 10px 8px !important;
  border-bottom: 1px solid #EEF2F6 !important;
  text-align: left !important;
  vertical-align: top !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-table thead th,
body.xl-redesign #content.xl-order-page .xl-order-table thead td {
  color: #6B7F93 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  border-bottom: 1px solid #E5EAF0 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-table em {
  display: block !important;
  margin-top: 2px !important;
  color: #6B7F93 !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-totals {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-totals td {
  padding: 6px 0 !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: right !important;
}

body.xl-redesign #content.xl-order-page .xl-order-totals tr:last-child td {
  padding-top: 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  float: none !important;
  width: auto !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-nav .right,
body.xl-redesign #content.xl-order-page .navigation .right {
  float: none !important;
  display: contents !important;
}

body.xl-redesign #content.xl-order-page .xl-order-nav a.button:first-child {
  background: #F4F7FA !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-nav a.button:first-child:hover {
  background: #E8EEF4 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-print {
  margin-top: 22px !important;
  padding: 18px 18px 16px !important;
  background: #F7F9FC !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-print .xl-order-h {
  margin-bottom: 6px !important;
}

body.xl-redesign #content.xl-order-page .xl-order-print__text {
  margin: 0 0 12px !important;
  color: #4B6174 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-print__btn {
  display: inline-flex !important;
  margin: 0 8px 8px 0 !important;
}

body.xl-redesign #content.xl-order-page .xl-order-print a.button {
  min-width: 0 !important;
}

@media (max-width: 900px) {
  body.xl-redesign #content.xl-order-page {
    padding: 16px 16px 28px !important;
  }

  body.xl-redesign #content.xl-order-page .xl-order-addrs,
  body.xl-redesign #content.xl-order-page .xl-order-methods {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content.xl-order-page .xl-order-nav {
    flex-direction: column !important;
  }

  body.xl-redesign #content.xl-order-page .xl-order-nav a.button {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.xl-redesign #content.xl-order-page .xl-order-print__btn {
    display: flex !important;
    width: 100% !important;
    margin: 0 0 8px !important;
  }

  body.xl-redesign #content.xl-order-page .xl-order-print a.button {
    width: 100% !important;
  }

  body.xl-redesign #content.xl-order-page .xl-order-sum {
    align-items: stretch !important;
  }

  body.xl-redesign #content.xl-order-page .xl-order-sum__row {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    text-align: left !important;
  }
}

/* ---------- Личный кабинет ---------- */
body.xl-redesign.xl-account-page #right .xl-acc-nav {
  margin: 0 0 16px !important;
}

body.xl-redesign #content.xl-acc-page > h1 {
  display: none !important;
}

body.xl-redesign .xl-acc-nav {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 18px 14px 16px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
}

body.xl-redesign .xl-acc-nav__user {
  padding: 4px 10px 14px !important;
  margin: 0 0 8px !important;
  border-bottom: 1px solid #EEF2F6 !important;
}

body.xl-redesign .xl-acc-nav__name {
  color: #0B2138 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign .xl-acc-nav__mail {
  margin-top: 4px !important;
  color: #6B7F93 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  word-break: break-all !important;
}

body.xl-redesign .xl-acc-nav__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

body.xl-redesign .xl-acc-nav__a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.xl-redesign .xl-acc-nav__a:hover {
  background: #F7F9FC !important;
  color: #0B2138 !important;
}

body.xl-redesign .xl-acc-nav__a.is-active {
  background: #FFF4EC !important;
  color: #ff6a00 !important;
  font-weight: 800 !important;
}

body.xl-redesign .xl-acc-nav__a--out {
  margin-top: 6px !important;
  color: #6B7F93 !important;
}

body.xl-redesign .xl-acc-nav__ico {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 18px 18px !important;
  opacity: 0.92 !important;
}

body.xl-redesign .xl-acc-nav__ico--user { background-image: url("../icons/ui/user.svg") !important; }
body.xl-redesign .xl-acc-nav__ico--orders { background-image: url("../icons/ui/calendar.svg") !important; }
body.xl-redesign .xl-acc-nav__ico--pin { background-image: url("../icons/ui/location.svg") !important; }
body.xl-redesign .xl-acc-nav__ico--bell { background-image: url("../icons/ui/info.svg") !important; }
body.xl-redesign .xl-acc-nav__ico--out { background-image: url("../icons/ui/close.svg") !important; }

body.xl-redesign .xl-acc-nav__a.is-active .xl-acc-nav__ico,
body.xl-redesign .xl-acc-nav__a:hover .xl-acc-nav__ico {
  opacity: 1 !important;
}

body.xl-redesign .xl-acc-promo {
  margin: 16px 4px 4px !important;
  padding: 16px 14px 14px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #F4EEFF 0%, #F7F3FF 100%) !important;
}

body.xl-redesign .xl-acc-promo__t {
  color: #3B2A6E !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.xl-redesign .xl-acc-promo__d {
  margin: 6px 0 10px !important;
  color: #6B5B8C !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

body.xl-redesign .xl-acc-promo__mail {
  margin: 0 0 10px !important;
  padding: 8px 10px !important;
  background: #fff !important;
  border-radius: 8px !important;
  color: #0B2138 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.xl-redesign .xl-acc-promo__btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.xl-redesign .xl-acc-promo__btn:hover {
  background: #ef5310 !important;
  color: #fff !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-card {
  background: #fff !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 16px !important;
  padding: 22px 22px 20px !important;
  box-shadow: none !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-card h1,
body.xl-redesign #content.xl-acc-page .xl-acc-card h2 {
  margin: 0 0 14px !important;
  color: #0B2138 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-card h2 {
  font-size: 18px !important;
  margin: 0 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-card__head {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-card__head a,
body.xl-redesign #content.xl-acc-page .xl-acc-facts a {
  color: #2F6FED !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-card__head a:hover,
body.xl-redesign #content.xl-acc-page .xl-acc-facts a:hover {
  color: #ff6a00 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 120px !important;
  gap: 16px !important;
  align-items: center !important;
  margin: 0 0 18px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-lead {
  margin: 0 !important;
  color: #4B6174 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-hero__art {
  width: 120px !important;
  height: 88px !important;
  border-radius: 16px !important;
  background: #F4F7FB url("../icons/trust/shield.svg") center / 42px no-repeat !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-facts {
  margin: 0 0 16px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-facts__row {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  border-top: 1px solid #EEF2F6 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-facts dt {
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-facts dd {
  margin: 0 !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-pass {
  letter-spacing: 0.12em !important;
  margin-right: 8px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* Ветка "не залогинен": после текста (p.xl-acc-lead) нужен отступ перед CTA */
body.xl-redesign #content.xl-acc-page .xl-acc-card > .xl-acc-btn {
  margin-top: 14px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-btn:hover {
  background: #ef5310 !important;
  color: #fff !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-btn--ghost {
  background: #F4F7FA !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-btn--ghost:hover {
  background: #E8EEF4 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-btn--sm {
  height: 36px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-top: 1px solid #EEF2F6 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order:first-of-type {
  border-top: 0 !important;
  padding-top: 0 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__thumbs {
  display: flex !important;
  gap: 4px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__pic {
  display: grid !important;
  place-items: center !important;
  width: 64px !important;
  height: 64px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #F7F9FC !important;
  border: 1px solid #E5EAF0 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__pic:nth-child(n+2) {
  display: none !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__pic img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #F4F7FA !important;
  color: #4B6174 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order--done .xl-acc-order__badge {
  background: #ECFDF3 !important;
  color: #15803D !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order--progress .xl-acc-order__badge {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order--cancel .xl-acc-order__badge {
  background: #FEF2F2 !important;
  color: #B91C1C !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__meta,
body.xl-redesign #content.xl-acc-page .xl-acc-order__pay {
  color: #6B7F93 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__sum {
  margin: 4px 0 2px !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-order__actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: stretch !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-empty {
  margin: 0 !important;
  color: #6B7F93 !important;
  font-size: 14px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-optom {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 16px rgba(7, 26, 47, 0.04) !important;
  text-decoration: none !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-optom__ico {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: #FFF1E6 url("../icons/trust/gift.svg") center / 22px no-repeat !important;
  flex: 0 0 42px !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-optom__t {
  flex: 1 1 auto !important;
  color: #0B2138 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-optom__btn {
  display: inline-flex !important;
  align-items: center !important;
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: #F4F7FA !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-optom:hover .xl-acc-optom__btn {
  background: #ff6a00 !important;
  color: #fff !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-note {
  padding: 12px 14px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 12px !important;
  color: #4B6174 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body.xl-redesign #content.xl-acc-page .xl-acc-note.is-on {
  border-color: #BBF7D0 !important;
  background: #F0FDF4 !important;
  color: #166534 !important;
}

@media (max-width: 900px) {
  body.xl-redesign #content.xl-acc-page .xl-acc-nav {
    margin: 0 0 14px !important;
  }

  body.xl-redesign #content.xl-acc-page .xl-acc-hero,
  body.xl-redesign #content.xl-acc-page .xl-acc-facts__row,
  body.xl-redesign #content.xl-acc-page .xl-acc-order {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content.xl-acc-page .xl-acc-hero__art {
    display: none !important;
  }

  body.xl-redesign #content.xl-acc-page .xl-acc-optom {
    flex-wrap: wrap !important;
  }
}

/* ---------- Админ-статистика ---------- */
body.xl-redesign #right #boxLogin:not(.xl-auth) {
  display: block !important;
  width: auto !important;
  float: none !important;
  background: #fff !important;
  color: #0B2138 !important;
  border-radius: 16px !important;
  padding: 14px 14px 12px !important;
  margin: 0 0 14px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.xl-redesign #right #boxLogin:not(.xl-auth) br {
  display: block !important;
  content: "" !important;
}

body.xl-redesign #right #boxLogin:not(.xl-auth) a {
  color: #0B2138 !important;
}

body.xl-redesign #right #boxLogin.xl-admin-src {
  display: none !important;
}

body.xl-redesign .xl-admin-stats {
  width: min(100%, var(--xl-shell-max, 1360px)) !important;
  max-width: var(--xl-shell-max, 1360px) !important;
  margin: -4px auto 14px !important;
  padding: 0 var(--xl-shell-pad, 24px) !important;
  box-sizing: border-box !important;
  color: #0B2138 !important;
}

body.xl-redesign .xl-admin-stats__bar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 22px rgba(7, 26, 47, 0.08) !important;
}

body.xl-redesign .xl-admin-stats__h {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.xl-redesign .xl-admin-stats__title {
  display: inline !important;
}

body.xl-redesign .xl-admin-stats__badge {
  display: inline-flex !important;
  align-items: center !important;
  height: 22px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #FFF4EC !important;
  color: #ff6a00 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}

body.xl-redesign .xl-admin-stats__summary {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

body.xl-redesign .xl-admin-stats.is-open .xl-admin-stats__summary {
  display: none !important;
}

body.xl-redesign .xl-admin-stats__chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  max-width: 180px !important;
  min-width: 0 !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #F7F9FC !important;
  color: #0B2138 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.xl-redesign .xl-admin-stats__chip.is-hot {
  background: #FFF4EC !important;
}

body.xl-redesign .xl-admin-stats__chip--tot {
  background: #0B2138 !important;
  color: #fff !important;
}

body.xl-redesign .xl-admin-stats__chip--tot .xl-admin-stats__chip-n {
  color: #ffb070 !important;
}

body.xl-redesign .xl-admin-stats__chip-name {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.xl-redesign .xl-admin-stats__chip-n {
  flex: 0 0 auto !important;
  font-variant-numeric: tabular-nums !important;
}

body.xl-redesign .xl-admin-stats__bar-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

body.xl-redesign .xl-admin-stats__toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  padding: 0 12px !important;
  border: 1px solid #D8E2EC !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

body.xl-redesign .xl-admin-stats__toggle:hover {
  background: #F7F9FC !important;
}

body.xl-redesign .xl-admin-stats__body {
  display: none !important;
  margin-top: 8px !important;
  padding: 12px 14px 10px !important;
  border: 1px solid #E5EAF0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(7, 26, 47, 0.08) !important;
}

body.xl-redesign .xl-admin-stats.is-open .xl-admin-stats__body {
  display: block !important;
}

body.xl-redesign .xl-admin-stats__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 6px 8px !important;
}

body.xl-redesign .xl-admin-stats__item {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 6px 8px !important;
  border-radius: 8px !important;
  background: #F7F9FC !important;
  color: #0B2138 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

body.xl-redesign .xl-admin-stats__item:hover {
  background: #EEF3F8 !important;
  color: #0B2138 !important;
}

body.xl-redesign .xl-admin-stats__item.is-hot {
  background: #FFF4EC !important;
}

body.xl-redesign .xl-admin-stats__name {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.xl-redesign .xl-admin-stats__n {
  flex: 0 0 auto !important;
  color: #6B7F93 !important;
  font-variant-numeric: tabular-nums !important;
}

body.xl-redesign .xl-admin-stats__item.is-hot .xl-admin-stats__n {
  color: #ff6a00 !important;
  font-weight: 800 !important;
}

body.xl-redesign .xl-admin-stats__totals {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 0 !important;
}

body.xl-redesign .xl-admin-stats__tot {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: #0B2138 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.xl-redesign .xl-admin-stats__tot b {
  color: #ffb070 !important;
  font-weight: 800 !important;
}

body.xl-redesign .xl-admin-stats__links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 12px 0 0 !important;
}

body.xl-redesign .xl-admin-stats__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.xl-redesign .xl-admin-stats__btn:hover {
  background: #ef5310 !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  body.xl-redesign .xl-admin-stats__bar {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  body.xl-redesign .xl-admin-stats__summary {
    order: 3 !important;
    flex: 1 1 100% !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
  }

  body.xl-redesign .xl-admin-stats__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 560px) {
  body.xl-redesign .xl-admin-stats__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Опт ---------- */
body.xl-redesign #content.xl-optom-page {
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 22px 24px 32px !important;
}

body.xl-redesign #content.xl-optom-page .xl-pagehead {
  margin: 0 0 10px !important;
}

body.xl-redesign #content.xl-optom-page .xl-optom-h1 {
  display: none !important;
}

body.xl-redesign #content.xl-optom-page .page,
body.xl-redesign #content.xl-optom-page .pagecontent {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

body.xl-redesign #content.xl-optom-page .xl-check-hide {
  display: none !important;
}

body.xl-redesign #content.xl-optom {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

body.xl-redesign #content .xl-optom-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr) !important;
  gap: 16px !important;
  overflow: hidden !important;
  min-height: 220px !important;
  padding: 26px 28px 24px !important;
  border-radius: 16px !important;
  background:
    radial-gradient(120% 80% at 90% 20%, rgba(255, 106, 0, 0.28), transparent 46%),
    radial-gradient(80% 90% at 10% 90%, rgba(80, 140, 255, 0.18), transparent 50%),
    #0B2138 !important;
  color: #fff !important;
}

body.xl-redesign #content .xl-optom-hero h2 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
}

body.xl-redesign #content .xl-optom-hero__badge {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 14px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.xl-redesign #content .xl-optom-hero p {
  margin: 0 !important;
  max-width: 42em !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

body.xl-redesign #content .xl-optom-hero__art {
  position: relative !important;
  min-height: 160px !important;
}

body.xl-redesign #content .xl-optom-hero__burst,
body.xl-redesign #content .xl-optom-hero__rocket {
  position: absolute !important;
  pointer-events: none !important;
}

body.xl-redesign #content .xl-optom-hero__burst {
  right: -8px !important;
  top: -18px !important;
  width: 170px !important;
  height: 170px !important;
  opacity: 0.9 !important;
}

body.xl-redesign #content .xl-optom-hero__rocket {
  right: 28px !important;
  bottom: -6px !important;
  width: 92px !important;
  height: 92px !important;
  transform: rotate(-18deg) !important;
  filter: brightness(0) invert(1) !important;
  opacity: 0.92 !important;
}

body.xl-redesign #content .xl-optom-pills {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.xl-redesign #content .xl-optom-pill {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 0 !important;
  padding: 16px 16px 15px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-optom-pill--price { background: #EEE9FF !important; }
body.xl-redesign #content .xl-optom-pill--box { background: #E7F3FF !important; }
body.xl-redesign #content .xl-optom-pill--sale { background: #FFEFE3 !important; }
body.xl-redesign #content .xl-optom-pill--ok { background: #FDE8F0 !important; }

body.xl-redesign #content .xl-optom-pill strong {
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-optom-pill span {
  color: #5A7186 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.xl-redesign #content .xl-optom-block h3,
body.xl-redesign #content .xl-optom-terms__list h3 {
  margin: 0 0 14px !important;
  color: #0B2138 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-optom-why {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.xl-redesign #content .xl-optom-why__card {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 18px 16px 16px !important;
  background: #F5F8FB !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-optom-why__ico {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 4px !important;
  border-radius: 12px !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.xl-redesign #content .xl-optom-why__ico--pct { background: #EDE7FF !important; color: #6C4DFF !important; }
body.xl-redesign #content .xl-optom-why__ico--pct::before { content: '%' !important; }
body.xl-redesign #content .xl-optom-why__ico--truck { background: #FFE8D6 !important; color: #ff6a00 !important; }
body.xl-redesign #content .xl-optom-why__ico--truck::before { content: '→' !important; }
body.xl-redesign #content .xl-optom-why__ico--tag { background: #FDE4E8 !important; color: #E11D48 !important; }
body.xl-redesign #content .xl-optom-why__ico--tag::before { content: '₽' !important; }
body.xl-redesign #content .xl-optom-why__ico--shield { background: #FFF4CC !important; color: #C2410C !important; }
body.xl-redesign #content .xl-optom-why__ico--shield::before { content: '✓' !important; }

body.xl-redesign #content .xl-optom-why__card strong {
  display: block !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-optom-why__card span:last-child,
body.xl-redesign #content .xl-optom-why__txt span {
  display: block !important;
  color: #5A7186 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content .xl-optom-why__txt {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-optom-terms {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

body.xl-redesign #content .xl-optom-terms__list {
  padding: 20px 20px 14px !important;
  background: #F5F8FB !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-optom-terms__list p {
  margin: 0 0 10px !important;
  color: #5A7186 !important;
  font-size: 14px !important;
}

body.xl-redesign #content .xl-optom-terms__list ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.xl-redesign #content .xl-optom-terms__list li {
  position: relative !important;
  margin: 0 0 10px !important;
  padding: 0 0 0 26px !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.xl-redesign #content .xl-optom-terms__list li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #22C55E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat !important;
}

body.xl-redesign #content .xl-optom-min {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 24px 20px !important;
  border-radius: 14px !important;
  background: #0B2138 !important;
  color: #fff !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-optom-min__ico {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: #FFD54A !important;
  color: #0B2138 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-optom-min b {
  color: #FFD54A !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-optom-min span {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.xl-redesign #content .xl-optom-tiers {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
  gap: 8px !important;
}

body.xl-redesign #content .xl-optom-tier {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  padding: 14px 8px 12px !important;
  background: #F5F8FB !important;
  border-radius: 12px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-optom-tier b {
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

body.xl-redesign #content .xl-optom-tier span {
  color: #5A7186 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-optom-docs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.xl-redesign #content a.xl-optom-doc {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  padding: 14px 16px !important;
  background: #F5F8FB !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content a.xl-optom-doc:hover {
  background: #EAF1F7 !important;
  color: #0B2138 !important;
}

body.xl-redesign #content .xl-optom-doc__ico {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #fff !important;
}

body.xl-redesign #content .xl-optom-doc--xls .xl-optom-doc__ico {
  background: #21A366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='M7 3h8l5 5v13H7z'/%3E%3Cpath d='M15 3v5h5'/%3E%3C/svg%3E") center / 18px no-repeat !important;
}

body.xl-redesign #content .xl-optom-doc--pdf .xl-optom-doc__ico {
  background: #E11D48 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='M7 3h8l5 5v13H7z'/%3E%3Cpath d='M15 3v5h5'/%3E%3C/svg%3E") center / 18px no-repeat !important;
}

body.xl-redesign #content .xl-optom-cta {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  overflow: hidden !important;
  padding: 22px 24px !important;
  background: #E8F1FA !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-optom-cta__text {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
  z-index: 1 !important;
}

body.xl-redesign #content .xl-optom-cta__text b {
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.xl-redesign #content .xl-optom-cta__text span {
  color: #5A7186 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

body.xl-redesign #content a.xl-optom-cta__btn {
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  height: 44px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(11, 33, 56, 0.08) !important;
}

body.xl-redesign #content a.xl-optom-cta__btn:hover {
  background: #fff !important;
  color: #ff6a00 !important;
}

body.xl-redesign #content .xl-optom-cta__art {
  position: absolute !important;
  right: 18px !important;
  bottom: -10px !important;
  width: 88px !important;
  height: 88px !important;
  background: url("/templates/silver_new_v2/assets/icons/promo/rocket.svg") center / contain no-repeat !important;
  opacity: 0.22 !important;
  pointer-events: none !important;
}

@media (max-width: 1100px) {
  body.xl-redesign #content .xl-optom-pills,
  body.xl-redesign #content .xl-optom-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.xl-redesign #content.xl-optom-page {
    padding: 16px 16px 28px !important;
  }

  body.xl-redesign #content.xl-optom-page .xl-pagehead {
    margin: 0 0 14px !important;
  }

  body.xl-redesign #content.xl-optom {
    gap: 20px !important;
  }

  body.xl-redesign #content .xl-optom-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 22px 18px !important;
  }

  body.xl-redesign #content .xl-optom-hero h2 {
    font-size: 24px !important;
  }

  body.xl-redesign #content .xl-optom-hero__art {
    display: none !important;
  }

  body.xl-redesign #content .xl-optom-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.xl-redesign #content .xl-optom-pill {
    padding: 14px 12px !important;
  }

  body.xl-redesign #content .xl-optom-why {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.xl-redesign #content .xl-optom-why__card {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px 14px !important;
  }

  body.xl-redesign #content .xl-optom-why__ico {
    margin: 0 !important;
    flex: 0 0 44px !important;
  }

  body.xl-redesign #content .xl-optom-why__card strong,
  body.xl-redesign #content .xl-optom-why__card span:last-child {
    display: block !important;
  }

  body.xl-redesign #content .xl-optom-docs,
  body.xl-redesign #content .xl-optom-terms {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content .xl-optom-docs {
    gap: 10px !important;
  }

  body.xl-redesign #content a.xl-optom-doc {
    padding: 14px 14px !important;
  }

  body.xl-redesign #content .xl-optom-terms {
    gap: 12px !important;
  }

  body.xl-redesign #content .xl-optom-terms__list {
    padding: 16px 16px 12px !important;
  }

  body.xl-redesign #content .xl-optom-min {
    padding: 20px 16px !important;
  }

  body.xl-redesign #content .xl-optom-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.xl-redesign #content .xl-optom-tier {
    padding: 14px 10px 12px !important;
  }

  body.xl-redesign #content .xl-optom-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 20px 16px !important;
  }

  body.xl-redesign #content a.xl-optom-cta__btn {
    width: 100% !important;
  }

  body.xl-redesign:has(#content.xl-optom-page) .xl-mobile-sidebar {
    gap: 16px !important;
    margin: 16px 16px 24px !important;
  }

  body.xl-redesign:has(#content.xl-optom-page) .xl-mobile-sidebar .xl-svcstack {
    gap: 12px !important;
  }

  body.xl-redesign:has(#content.xl-optom-page) .xl-mobile-sidebar .xl-svc {
    padding: 14px 12px !important;
    min-height: 0 !important;
  }
}

body.xl-redesign .xl-float-cart {
  position: fixed !important;
  right: 22px !important;
  bottom: 130px !important;
  z-index: 2147483000 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* На мобиле корзина уже в нижней панели — плавающий виджет скрыт везде */
@media (max-width: 900px) {
  body.xl-redesign .xl-float-cart,
  body.xl-redesign #xlFloatCart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* На странице корзины плавающий виджет не нужен */
body.xl-redesign:has(.xl-cart-panel) .xl-float-cart,
body.xl-redesign:has(.xl-cart-panel) #xlFloatCart {
  display: none !important;
}

body.xl-redesign .xl-float-cart__btn {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 18px 0 14px !important;
  border: 2px solid #ff6a00 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0B2138 !important;
  box-shadow:
    0 0 0 1px rgba(7, 26, 47, 0.06),
    0 12px 28px rgba(7, 26, 47, 0.28) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.xl-redesign .xl-float-cart__btn:hover {
  background: #fff7f2 !important;
  color: #0B2138 !important;
  border-color: #ef5310 !important;
}

body.xl-redesign .xl-float-cart__ico {
  width: 22px !important;
  height: 22px !important;
  display: inline-block !important;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2138' stroke-width='1.8'%3E%3Cpath d='M3 5h2l2.2 11h10.6l2-8H7'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='17' cy='20' r='1.4'/%3E%3C/svg%3E") !important;
}

body.xl-redesign .xl-float-cart__label {
  display: inline !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  color: #0B2138 !important;
  white-space: nowrap !important;
}

body.xl-redesign .xl-float-cart__badge {
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* VK video modal */
body.xl-redesign .xl-vkmodal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  box-sizing: border-box !important;
}

body.xl-redesign .xl-vkmodal[hidden] {
  display: none !important;
}

body.xl-redesign .xl-vkmodal__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(7, 26, 47, 0.72) !important;
}

body.xl-redesign .xl-vkmodal__dialog {
  position: relative !important;
  z-index: 1 !important;
  width: min(760px, 100%) !important;
  padding: 12px 14px 14px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 20px 60px rgba(7, 26, 47, 0.35) !important;
  box-sizing: border-box !important;
}

body.xl-redesign .xl-vkmodal__head {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 0 8px !important;
  min-height: 36px !important;
}

body.xl-redesign .xl-vkmodal__close,
body.xl-redesign button.xl-vkmodal__close {
  position: static !important;
  top: auto !important;
  right: auto !important;
  z-index: 30 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0B2138 !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  text-indent: 0 !important;
  float: none !important;
  flex: 0 0 auto !important;
}

body.xl-redesign .xl-vkmodal__close:hover,
body.xl-redesign button.xl-vkmodal__close:hover {
  background: #ff6a00 !important;
  color: #fff !important;
}

body.xl-redesign .xl-vkmodal__hint {
  display: none !important;
}

body.xl-redesign .xl-vkmodal__frame {
  position: relative !important;
  width: 100% !important;
  padding-top: 56.25% !important;
  background: #0B2138 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.xl-redesign .xl-vkmodal__frame iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

body.xl-redesign .xl-vkmodal__nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-top: 12px !important;
}

body.xl-redesign .xl-vkmodal__prev,
body.xl-redesign .xl-vkmodal__next {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #D9EAF5 !important;
  border-radius: 10px !important;
  background: #f9f9f9 !important;
  color: #0B2138 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

body.xl-redesign .xl-vkmodal__count {
  color: #49627A !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  min-width: 48px !important;
  text-align: center !important;
}

/* ---------- Подбор салюта (master.php) — только #content ---------- */
body.xl-redesign #content .xl-master {
  position: relative !important;
  overflow: visible !important;
  background:
    linear-gradient(180deg, #fff 0%, #fbfcfe 100%) !important;
  border: 1px solid #E6EEF5 !important;
  border-radius: 16px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  color: #0B2138 !important;
  box-shadow: 0 10px 28px rgba(11, 33, 56, 0.06) !important;
  max-width: 100% !important;
}

body.xl-redesign #content .xl-master::before {
  content: "" !important;
  display: block !important;
  height: 3px !important;
  border-radius: 16px 16px 0 0 !important;
  background: linear-gradient(90deg, #ff6a00 0%, #ff9a4a 55%, transparent 100%) !important;
}

/* Сброс чёрных рамок и width:675px из stylesheet.css */
body.xl-redesign #content .xl-master .colors,
body.xl-redesign #content .xl-master .effects_sound,
body.xl-redesign #content .xl-master .effects-box {
  border: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-master__head {
  margin: 0 !important;
  padding: 16px 18px 14px !important;
  border-bottom: 1px solid #EEF3F8 !important;
  background: linear-gradient(180deg, #fff7f0 0%, #fff 100%) !important;
}

body.xl-redesign #content .xl-master__eyebrow {
  margin: 0 0 4px !important;
  color: #ff6a00 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-master h1,
body.xl-redesign #content .xl-master h1.ttt {
  margin: 0 0 6px !important;
  color: #0B2138 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

body.xl-redesign #content .xl-master__lead {
  margin: 0 !important;
  max-width: 42em !important;
  color: #49627A !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.xl-redesign #content .xl-master__form {
  padding: 14px 18px 20px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-master__section {
  margin: 0 0 18px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #EEF3F8 !important;
}

body.xl-redesign #content .xl-master__section--last,
body.xl-redesign #content .xl-master__section:last-of-type {
  border-bottom: 0 !important;
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
}

body.xl-redesign #content .xl-master__section-head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
}

body.xl-redesign #content .xl-master__step {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #0B2138 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.xl-redesign #content .xl-master h2 {
  margin: 0 !important;
  color: #0B2138 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.xl-redesign #content .xl-master__hint {
  margin: 2px 0 0 !important;
  color: #7A8FA3 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

body.xl-redesign #content .xl-master__grid {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-master__grid--effects {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.xl-redesign #content .xl-master__grid--colors {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.xl-redesign #content .xl-master__grid--extra {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.xl-redesign #content .xl-master__tile {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  border: 1px solid #E6EEF5 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

body.xl-redesign #content .xl-master__tile:hover {
  border-color: #c9dceb !important;
  box-shadow: 0 8px 20px rgba(11, 33, 56, 0.08) !important;
}

body.xl-redesign #content .xl-master__tile:has(input:checked) {
  border-color: #ff6a00 !important;
  box-shadow: inset 0 0 0 1px #ff6a00 !important;
}

body.xl-redesign #content .xl-master__tile img,
body.xl-redesign #content .xl-master__tile .blank-img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 88px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  background: #0B2138 !important;
  cursor: pointer !important;
}

body.xl-redesign #content .xl-master__tile .blank-img {
  border: 0 !important;
  background: linear-gradient(145deg, #1a3550, #0B2138) !important;
}

body.xl-redesign #content .xl-master__tile label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 10px !important;
  min-height: 58px !important;
  color: #0B2138 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

body.xl-redesign #content .xl-master__tile input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 15px !important;
  height: 15px !important;
  margin: 1px 0 0 !important;
  accent-color: #ff6a00 !important;
}

body.xl-redesign #content .xl-master__tile-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-master__tile-name {
  min-width: 0 !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.xl-redesign #content .xl-master__tile .eff_count,
body.xl-redesign #content .xl-master__chip .eff_count,
body.xl-redesign #content .xl-master__tag .eff_count {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  color: #7A8FA3 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body.xl-redesign #content .xl-master__tile .eff_count::after {
  content: " шт." !important;
  font-weight: 600 !important;
}

body.xl-redesign #content .xl-master__chip {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  min-width: 0 !important;
  border: 1px solid #E6EEF5 !important;
  border-radius: 12px !important;
  background: #f9f9f9 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
}

body.xl-redesign #content .xl-master__chip:hover {
  border-color: #c9dceb !important;
  background: #fff !important;
}

body.xl-redesign #content .xl-master__chip:has(input:checked) {
  border-color: #ff6a00 !important;
  background: #fff8f3 !important;
  box-shadow: inset 0 0 0 1px #ff6a00 !important;
}

body.xl-redesign #content .xl-master__chip img,
body.xl-redesign #content .xl-master__chip .blank-img {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid #E6EEF5 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

body.xl-redesign #content .xl-master__chip label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

body.xl-redesign #content .xl-master__chip-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-master__chip-name {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.xl-redesign #content .xl-master__chip input[type="checkbox"] {
  margin: 0 !important;
  flex: 0 0 auto !important;
  accent-color: #ff6a00 !important;
}

body.xl-redesign #content .xl-master__tag {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.xl-redesign #content .xl-master__tag label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid #E6EEF5 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0B2138 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
}

body.xl-redesign #content .xl-master__tag:has(input:checked) label {
  border-color: #ff6a00 !important;
  background: #fff8f3 !important;
  box-shadow: inset 0 0 0 1px #ff6a00 !important;
}

body.xl-redesign #content .xl-master__tag label:hover {
  border-color: #ff6a00 !important;
}

body.xl-redesign #content .xl-master__tag input[type="checkbox"] {
  margin: 0 !important;
  flex: 0 0 auto !important;
  accent-color: #ff6a00 !important;
}

body.xl-redesign #content .xl-master__tag-name {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.xl-redesign #content .xl-master__tag .eff_count {
  color: #7A8FA3 !important;
}

body.xl-redesign #content .xl-master__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid #EEF3F8 !important;
}

body.xl-redesign #content .xl-master__actions .select-effect {
  appearance: none !important;
  -webkit-appearance: none !important;
  height: 44px !important;
  min-width: 240px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 44px !important;
  cursor: pointer !important;
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.28) !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

body.xl-redesign #content .xl-master__actions .select-effect:hover {
  background: #ef5310 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 26px rgba(239, 83, 16, 0.32) !important;
}

body.xl-redesign #content .xl-master__actions .select-effect:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

body.xl-redesign #content #eff-count {
  z-index: 40 !important;
  max-width: 280px !important;
  padding: 10px 12px !important;
  border: 1px solid #E6EEF5 !important;
  border-radius: 12px !important;
  background: #0B2138 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  box-shadow: 0 12px 28px rgba(11, 33, 56, 0.28) !important;
}

body.xl-redesign #content .xl-pagehead .naviM,
body.xl-redesign #content .xl-pagehead .naviM a,
body.xl-redesign #content .xl-pagehead .navu {
  color: #49627A !important;
  font-size: 12px !important;
}

body.xl-redesign #content:has(.xl-master) .xl-pagehead {
  margin: 0 0 12px !important;
}

@media (max-width: 1100px) {
  body.xl-redesign #content form.myCatItems,
  body.xl-redesign form.myCatItems,
  body.xl-redesign #content:has(.ProductInfoLeft) .page .pageItem:has(dl.itemNewProductsDefault) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.xl-redesign #content .xl-master__grid--effects {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.xl-redesign #content .xl-master__grid--colors {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  /* Полоска «ночного неба» под шапкой/категориями на внутряках */
  body.xl-redesign:not(.xl-home) #container,
  body.xl-redesign:not(.xl-home) #container.xl-redesign {
    background-color: #f9f9f9 !important;
    background-image: none !important;
  }
  body.xl-redesign .xl-menustrip {
    margin-bottom: 0 !important;
    background: #fff !important;
    z-index: 250 !important;
  }
  body.xl-redesign .xl-menustrip.is-fixed {
    z-index: 250 !important;
  }
  body.xl-redesign .xl-header {
    z-index: 260 !important;
  }
  body.xl-redesign:not(.xl-home) table#middle {
    margin: 0 0 24px !important;
    padding: 0 !important;
    border-spacing: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.xl-redesign:not(.xl-home) table#middle td.two {
    padding: 0 !important;
    margin: 0 !important;
  }
  body.xl-redesign:not(.xl-home) #wrapper {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.xl-redesign .xl-float-cart,
  body.xl-redesign #xlFloatCart {
    display: none !important;
  }

  body.xl-redesign #content:has(form.myCatItems),
  body.xl-redesign #content:has(.pagecontent),
  body.xl-redesign #content:has(.ProductInfoLeft),
  body.xl-redesign #content:has(.xl-cart-panel),
  body.xl-redesign #content:has(.xl-master),
  body.xl-redesign #content:has(#checkout),
  body.xl-redesign #content:has(.xl-article),
  body.xl-redesign #content:has(.xl-articles-page),
  body.xl-redesign #content:has(.xl-404),
  body.xl-redesign #content:has(.xl-reviews) {
    border-radius: 0 !important;
    padding: 12px 10px 20px !important;
  }

  body.xl-redesign #content form.myCatItems,
  body.xl-redesign form.myCatItems,
  body.xl-redesign #content:has(.ProductInfoLeft) .page .pageItem:has(dl.itemNewProductsDefault) {
    grid-template-columns: 1fr !important;
  }


  body.xl-redesign #content:has(form.myCatItems) > h1,
  body.xl-redesign #content h1.contentBoxHeading {
    font-size: 22px !important;
  }

  body.xl-redesign #content:has(.xl-cart-panel) {
    padding: 12px 12px 28px !important;
    border-radius: 16px !important;
  }

  body.xl-redesign #content .xl-cart-panel {
    grid-template-columns: 1fr !important;
    padding: 14px 12px !important;
  }

  body.xl-redesign #content .xl-cart-panel h1 {
    font-size: 18px !important;
  }

  body.xl-redesign #content .xl-cart__item {
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    grid-template-areas:
      "pic info del"
      "pic qty price" !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    min-height: 0 !important;
    padding: 12px 0 !important;
    align-items: start !important;
  }

  body.xl-redesign #content .xl-cart__pic {
    grid-area: pic !important;
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 72px !important;
    height: 64px !important;
  }

  body.xl-redesign #content .xl-cart__info {
    grid-area: info !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding-right: 4px !important;
  }

  body.xl-redesign #content .xl-cart__name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 13px !important;
  }

  body.xl-redesign #content .xl-cart__stepper.xl-goods__qty,
  body.xl-redesign #content .xl-cart__stepper {
    grid-area: qty !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 108px !important;
    max-width: 108px !important;
    height: 40px !important;
    justify-self: start !important;
    grid-template-columns: 32px 1fr 32px !important;
  }

  body.xl-redesign #content .xl-cart__stepper .xl-goods__qty-btn {
    width: 32px !important;
    height: 40px !important;
    font-size: 16px !important;
  }

  body.xl-redesign #content .xl-cart__stepper input[type="text"],
  body.xl-redesign #content .xl-cart__stepper input.input-small {
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
  }

  body.xl-redesign #content .xl-cart__price {
    grid-area: price !important;
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  body.xl-redesign #content .xl-cart__del {
    grid-area: del !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }

  body.xl-redesign #content .xl-cart__bar-left,
  body.xl-redesign #content .xl-cart__bar-right,
  body.xl-redesign #content .xl-cart__actions {
    grid-column: 1 / -1 !important;
  }

  body.xl-redesign #content .xl-cart__bar-right {
    align-items: flex-start !important;
    text-align: left !important;
  }

  body.xl-redesign #content .xl-cart__stat--total {
    align-items: flex-start !important;
  }

  body.xl-redesign #content .xl-cart-panel {
    padding-bottom: 12px !important;
  }

  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions,
  body.xl-redesign #content .xl-cart__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    justify-self: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
  }

  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__btn,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__btn--primary,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__btn--reload,
  body.xl-redesign #content .xl-cart-panel.is-dirty .xl-cart__btn--reload {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 0 !important;
  }

  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions a.button,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button button,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button input {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
  }

  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions a.button span,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button span,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    background: none !important;
    background-image: none !important;
  }

  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions a.button img,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions span.button img,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__actions button img {
    display: none !important;
  }

  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__btn--reload span.button,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__btn--reload span.button button,
  body.xl-redesign #content:has(.xl-cart-panel) .xl-cart__btn--reload span.button input {
    background: #2563eb !important;
    background-image: none !important;
    color: #fff !important;
  }

  body.xl-redesign #content .xl-cart__stat-value--price,
  body.xl-redesign #content .xl-cart__stat-value--price * {
    font-size: 18px !important;
  }

  body.xl-redesign #left .xl-side__filter-row .xl-side__filter {
    min-height: 58px !important;
    font-size: 10px !important;
  }

  body.xl-redesign #content .xl-master {
    border-radius: 14px !important;
  }

  body.xl-redesign #content .xl-master__head,
  body.xl-redesign #content .xl-master__form {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.xl-redesign #content .xl-master__grid--effects {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.xl-redesign #content .xl-master__grid--colors {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content .xl-master__chip-name {
    display: inline !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body.xl-redesign #content .xl-master__tile img,
  body.xl-redesign #content .xl-master__tile .blank-img {
    height: 80px !important;
  }

  body.xl-redesign #content .xl-master__actions .select-effect {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Карточка товара — мобильная вёрстка */
  body.xl-redesign #content.xl-pi-page,
  body.xl-redesign #content:has(.xl-pi) {
    padding: 12px 8px 32px !important;
    margin: 0 0 20px !important;
    border-radius: 16px !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
  }

  body.xl-redesign #content.xl-pi-page .pagecontent {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  body.xl-redesign #content .xl-pi,
  body.xl-redesign #content .xl-pi__hero,
  body.xl-redesign #content .xl-pi__panel,
  body.xl-redesign #content .xl-pi__section,
  body.xl-redesign #content .xl-pi__related-grid {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.xl-redesign #content .xl-pi__tabs {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }
  body.xl-redesign #content .pagecontent .xl-pi__tabs a,
  body.xl-redesign #content .xl-pi__tabs a,
  body.xl-redesign #content .xl-pi__tab {
    flex: 1 1 0 !important;
    gap: 0 !important;
    min-height: 36px !important;
    padding: 8px 4px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  body.xl-redesign #content .xl-pi__tab-ico {
    display: none !important;
  }
  body.xl-redesign #content .xl-pi__tab-txt {
    white-space: normal !important;
    text-align: center !important;
  }

  body.xl-redesign #content .xl-pi__hero {
    padding: 12px !important;
    gap: 12px !important;
  }

  body.xl-redesign #content .xl-pi__media > a.lightbox {
    min-height: 220px !important;
    padding: 10px !important;
  }

  body.xl-redesign #content .xl-pi__media img#img {
    max-height: 240px !important;
  }

  body.xl-redesign #content .xl-pi__price,
  body.xl-redesign #content .xl-pi__price-now {
    font-size: 24px !important;
  }

  body.xl-redesign #content .xl-pi__cart .CartContentRight {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }
  body.xl-redesign #content .xl-pi__qty.xl-goods__qty,
  body.xl-redesign #content .xl-pi__cart .xl-goods__qty {
    flex: 0 0 96px !important;
    width: 96px !important;
    max-width: 96px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
  body.xl-redesign #content .xl-pi__cart .xl-goods__qty input,
  body.xl-redesign #content .xl-pi__cart input[name="products_qty"] {
    height: 40px !important;
    min-height: 40px !important;
  }
  body.xl-redesign #content .xl-pi__cart a.button,
  body.xl-redesign #content .xl-pi__cart span.button,
  body.xl-redesign #content .xl-pi__cart span.button input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  body.xl-redesign #content .xl-pi__keys {
    grid-template-columns: 1fr 1fr !important;
  }

  body.xl-redesign #content .xl-pi__perks {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    padding: 10px 0 !important;
  }
  body.xl-redesign #content .xl-pi__perk {
    padding: 10px 8px !important;
    gap: 6px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
  body.xl-redesign #content .xl-pi__perk:nth-child(2n+1) {
    border-left: 0 !important;
  }
  body.xl-redesign #content .xl-pi__perk:nth-child(n+3) {
    border-top: 1px solid #EEF2F6 !important;
  }
  body.xl-redesign #content .xl-pi__perk img {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    margin: 0 !important;
  }

  body.xl-redesign #content .xl-pi__section {
    padding: 14px !important;
  }

  body.xl-redesign #content .xl-pi__video {
    padding: 10px !important;
  }

  body.xl-redesign #content.xl-pi-page .xl-pi__related-head,
  body.xl-redesign #content.xl-pi-page .xl-related-heading,
  body.xl-redesign #content.xl-pi-page .xl-pi__reviews-head {
    margin: 18px 0 12px !important;
    font-size: 18px !important;
    text-align: center !important;
  }
  body.xl-redesign #content.xl-pi-page .page:has(.xl-pi__related-grid),
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid {
    margin-bottom: 28px !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__more-head,
  body.xl-redesign #content.xl-pi-page .pagecontent > b {
    margin-top: 24px !important;
  }

  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__buy {
    grid-template-columns: 92px 44px !important;
    gap: 8px !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__qty {
    width: 92px !important;
    max-width: 92px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__qty input {
    height: 40px !important;
    min-height: 40px !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button,
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button:visited,
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button:hover {
    width: 44px !important;
    min-width: 44px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button::before {
    display: block !important;
  }
  body.xl-redesign #content.xl-pi-page .xl-pi__related-grid .xl-goods__cta a.button span {
    display: none !important;
  }

  body.xl-redesign #content.xl-pi-page .xl-pi__help {
    grid-template-columns: 1fr !important;
  }

  /* Отступ после «Спасибо, что выбрали нас / команда Хлопни.ру» перед инфо-карточками */
  body.xl-redesign #content .infoBlock {
    margin-top: 32px !important;
    margin-bottom: 16px !important;
  }

  body.xl-redesign #content:has(#checkout) > h1,
  body.xl-redesign #content #checkout > h1 {
    font-size: 22px !important;
  }

  body.xl-redesign #content #checkout .sm_layout_box {
    padding: 12px 0 !important;
  }

  body.xl-redesign #content #checkout fieldset.form,
  body.xl-redesign #content #checkout fieldset.form > #fields_2,
  body.xl-redesign #content #checkout fieldset.form > .my_extra {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content #checkout fieldset.form table,
  body.xl-redesign #content #checkout fieldset.form tbody,
  body.xl-redesign #content #checkout fieldset.form tr,
  body.xl-redesign #content #checkout fieldset.form td {
    display: block !important;
    width: 100% !important;
  }

  body.xl-redesign #content #checkout fieldset.form td.first,
  body.xl-redesign #content #checkout fieldset.form td:first-child {
    width: 100% !important;
    padding: 8px 0 4px !important;
    white-space: normal !important;
  }

  body.xl-redesign #content #checkout input[type="text"],
  body.xl-redesign #content #checkout input[type="password"],
  body.xl-redesign #content #checkout select,
  body.xl-redesign #content #checkout textarea,
  body.xl-redesign #content #checkout .my_extra select {
    max-width: 100% !important;
  }

  body.xl-redesign #content:has(#checkout) .pagecontentfooter {
    justify-content: stretch !important;
  }

  body.xl-redesign #content:has(#checkout) .pagecontentfooter a.button,
  body.xl-redesign #content:has(#checkout) .pagecontentfooter span.button,
  body.xl-redesign #content #checkout .mysubmit {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.xl-redesign #content.xl-auth-page {
    padding: 18px 16px 24px !important;
  }

  body.xl-redesign #content.xl-auth-page > h1 {
    font-size: 22px !important;
  }

  body.xl-redesign #content.xl-auth-login dl.Login {
    padding: 18px 16px 16px !important;
  }

  body.xl-redesign #content.xl-auth-login .pagecontent,
  body.xl-redesign #content.xl-auth-register fieldset.form,
  body.xl-redesign #content.xl-auth-password fieldset.form {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content.xl-auth-page .pagecontentfooter a.button,
  body.xl-redesign #content.xl-auth-page .pagecontentfooter span.button,
  body.xl-redesign #content.xl-auth-page a.button,
  body.xl-redesign #content.xl-auth-page span.button,
  body.xl-redesign #content.xl-auth-page span.button button {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.xl-redesign #content .xl-contact__grid,
  body.xl-redesign #content .xl-contact__form,
  body.xl-redesign #content form#contact_us fieldset.form {
    grid-template-columns: 1fr !important;
  }

  body.xl-redesign #content:has(form#contact_us) .pagecontentfooter {
    justify-content: stretch !important;
  }

  body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button,
  body.xl-redesign #content:has(form#contact_us) .pagecontentfooter span.button button {
    width: 100% !important;
  }

  body.xl-redesign #content .xl-articles-page > h1,
  body.xl-redesign #content .xl-article > h1 {
    font-size: 22px !important;
  }

  body.xl-redesign #content .xl-articles-intro,
  body.xl-redesign #content .xl-article,
  body.xl-redesign #content a.xl-articles-card {
    padding: 14px 14px !important;
  }

  body.xl-redesign #content .xl-404 {
    padding: 22px 16px 24px !important;
  }

  body.xl-redesign #content .xl-404 > h1 {
    font-size: 22px !important;
  }

  body.xl-redesign #content .xl-404__search {
    flex-direction: column !important;
  }

  body.xl-redesign #content .xl-reviews > h1 {
    font-size: 22px !important;
  }

  body.xl-redesign #content .xl-reviews-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  body.xl-redesign #content .xl-reviews-card__pic {
    width: 64px !important;
    height: 64px !important;
  }

  /* Листинг: компактные карточки, без характеристик, кнопка помещается */
  body.xl-redesign #content:has(form.myCatItems) {
    padding: 12px 12px 28px !important;
    border-radius: 16px !important;
  }

  body.xl-redesign #content .xl-list-toolbar,
  body.xl-redesign #content .page.xl-list-tools .pageItem {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 12px 12px !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  body.xl-redesign #content .xl-list-toolbar > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.xl-redesign #content .xl-list-filters {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    gap: 6px !important;
  }

  body.xl-redesign #content .xl-list-toolbar__ico {
    width: 22px !important;
    height: 22px !important;
  }

  body.xl-redesign #content .xl-list-toolbar__ico img {
    width: 12px !important;
    height: 12px !important;
  }

  body.xl-redesign #content .xl-list-sort,
  body.xl-redesign #content .xl-list-sort--pagesize {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    gap: 8px 6px !important;
  }

  body.xl-redesign #content .xl-list-sort--pagesize {
    margin-top: 6px !important;
    padding-top: 10px !important;
    border-top: 1px solid #E5EAF0 !important;
  }

  body.xl-redesign #content .xl-list-sort__chips {
    flex: 1 1 100% !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 5px !important;
  }

  body.xl-redesign #content .xl-list-sort__label {
    font-size: 10px !important;
    letter-spacing: 0.02em !important;
  }

  body.xl-redesign #content .xl-list-chip {
    min-height: 26px !important;
    padding: 0 7px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body.xl-redesign #content .xl-search-panel__box,
  body.xl-redesign #content .page.xl-search-panel .pageItem {
    padding: 12px !important;
  }

  body.xl-redesign #content .xl-search-panel__label {
    font-size: 11px !important;
  }

  body.xl-redesign #content .xl-search-panel__row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.xl-redesign #content .xl-search-panel__input,
  body.xl-redesign #content .xl-search-panel__btn {
    height: 40px !important;
    min-width: 0 !important;
    width: 100% !important;
    font-size: 14px !important;
  }

  body.xl-redesign #content .xl-search-panel__input {
    line-height: 40px !important;
  }

  body.xl-redesign #content .xl-list-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 8px 0 12px !important;
  }

  body.xl-redesign #content .xl-list-nav__count,
  body.xl-redesign #content .xl-list-nav__pages {
    max-width: 100% !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__card {
    padding: 10px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__pic {
    height: 110px !important;
    max-height: 110px !important;
    min-height: 110px !important;
    margin: 0 !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__pic img {
    max-height: 94px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__name {
    min-height: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__meta {
    display: none !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__price {
    margin: 0 !important;
    font-size: 16px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__buy {
    grid-template-columns: 92px 44px !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__qty {
    width: 92px !important;
    max-width: 92px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__qty input {
    height: 40px !important;
    min-height: 40px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__cta {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__cta a.button,
  body.xl-redesign #content form.myCatItems .xl-goods__cta a.button:visited,
  body.xl-redesign #content form.myCatItems .xl-goods__cta a.button:hover {
    width: 44px !important;
    min-width: 44px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__cta a.button::before {
    display: block !important;
  }

  body.xl-redesign #content form.myCatItems .xl-goods__cta a.button span {
    display: none !important;
  }

  /* Форма отзыва — компактно, без гигантских полей */
  body.xl-redesign #content:has(form#product_reviews_write),
  body.xl-redesign #content:has(.xl-review) {
    padding: 10px 12px 20px !important;
    margin: 0 0 12px !important;
    border-radius: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
  }

  body.xl-redesign #content:has(form#product_reviews_write) h1,
  body.xl-redesign #content:has(.xl-review) h1 {
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin: 0 0 8px !important;
  }

  body.xl-redesign #content:has(form#product_reviews_write) > .navi,
  body.xl-redesign #content:has(form#product_reviews_write) > p.navi {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    overflow-wrap: anywhere !important;
  }

  body.xl-redesign #content .xl-review {
    padding: 12px !important;
    gap: 10px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  body.xl-redesign #content .xl-review__meta {
    padding: 8px 10px !important;
    gap: 4px !important;
  }

  body.xl-redesign #content .xl-review__row,
  body.xl-redesign #content .xl-review__label {
    font-size: 13px !important;
  }

  body.xl-redesign #content .xl-review__note {
    margin: 0 !important;
    font-size: 12px !important;
  }

  body.xl-redesign #content .xl-review__stars {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  body.xl-redesign #content .xl-review__radios {
    width: 100% !important;
    gap: 4px !important;
  }

  body.xl-redesign #content .xl-review__star {
    padding: 8px 2px 6px !important;
  }

  body.xl-redesign #content .xl-review__star-ico {
    width: 22px !important;
    height: 22px !important;
  }

  body.xl-redesign #content .xl-review__star-txt {
    font-size: 10px !important;
  }

  body.xl-redesign #content .xl-review__picked {
    font-size: 12px !important;
  }

  body.xl-redesign #content .xl-review__field textarea,
  body.xl-redesign #content form#product_reviews_write textarea {
    height: 84px !important;
    min-height: 84px !important;
    padding: 8px 10px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  body.xl-redesign #content .xl-review__captcha {
    gap: 6px !important;
  }

  body.xl-redesign #content .xl-review__captcha-row {
    gap: 8px !important;
  }

  body.xl-redesign #content .xl-review__captcha img,
  body.xl-redesign #content form#product_reviews_write img[name="captcha"] {
    height: 32px !important;
  }

  body.xl-redesign #content .xl-review__field--code input,
  body.xl-redesign #content form#product_reviews_write input#captcha,
  body.xl-redesign #content form#product_reviews_write input[name="captcha"] {
    width: 100% !important;
    height: 36px !important;
    font-size: 16px !important;
  }

  body.xl-redesign #content .xl-review__nav,
  body.xl-redesign #content form#product_reviews_write .navigation {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 8px 0 0 !important;
  }

  body.xl-redesign #content .xl-review__nav a.button,
  body.xl-redesign #content .xl-review__nav span.button,
  body.xl-redesign #content form#product_reviews_write .navigation a.button,
  body.xl-redesign #content form#product_reviews_write .navigation span.button {
    display: inline-flex !important;
    width: auto !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    font-size: 13px !important;
  }

  body.xl-redesign #content .xl-review__nav span.button input,
  body.xl-redesign #content form#product_reviews_write .navigation span.button input {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
  }

  body.xl-redesign #content .xl-review__nav span.button {
    order: 0 !important;
  }
}

/* Мобильное меню: контакты и разделы сайта */
body.xl-redesign .xl-mm__site {
  display: none !important;
}

@media (max-width: 900px) {
  body.xl-redesign .xl-mm__site {
    display: grid !important;
    gap: 8px !important;
    margin: 16px 0 0 !important;
    padding: 12px 0 0 !important;
  }

  body.xl-redesign .xl-mm__site .xl-mm__label {
    margin: 0 0 4px !important;
  }

  body.xl-redesign .xl-mm__site-link {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid #E5EAF0 !important;
    border-radius: 12px !important;
    background: #F8FAFC !important;
    color: #0B2138 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  body.xl-redesign .xl-mm__site-link:hover,
  body.xl-redesign .xl-mm__site-link:first-child {
    border-color: #ffd2ad !important;
    background: #fff7f2 !important;
    color: #0B2138 !important;
  }
}
