/* =========================
   SPEEDSOUND.RU — ОПТИМИЗИРОВАННАЯ ВЕРСИЯ
   Версия: 3.1
   Дата: 31.01.2026
========================= */

/* =========================
   CSS ПЕРЕМЕННЫЕ
========================= */
:root {
  /* Отступы */
  --gap-xs: 6px;
  --gap-sm: 12px;
  --gap-md: 24px;
  --gap-lg: 48px;
  --gap-xl: 96px;
  
  /* Скругления */
  --radius-sm: 6px;
  --radius-md: 12px;
  
  /* Размеры элементов */
  --size-xs: 48px;
  --size-sm: 64px;
  --size-md: 96px;
  --size-lg: 192px;
  
  /* Цвета */
  --color-bg-light: #ECECEC;
  --color-bg-white: #ffffff;
  --color-border: #8F8F8F;
  --color-overlay: rgba(0,0,0,0.24);
  --color-text-secondary: rgb(80, 80, 80);
  
  /* Высота элементов форм */
  --input-height-desktop: 64px;
  --input-height-mobile: 56px;
  --button-height-desktop: 96px;
  --button-height-mobile: 96px;
  --button-padding-desktop: 60px;
  --button-padding-mobile: 40px;
}

/* =========================
   КАТАЛОГ: КАРТОЧКИ ТОВАРОВ
========================= */

/* Убираем дефолтный отступ перед кнопками */
#allrecords .store__card__wrap_txt-and-opts.store__card__has-btns,
#allrecords .t-store__card__wrap_txt-and-opts.t-store__card__has-btns {
  margin-bottom: 0 !important;
}

/* Контейнер кнопок в карточке */
#allrecords .t-store__card__btns-wrapper {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--gap-sm) !important;
  align-items: stretch !important;
}

/* Кнопки в карточке */
#allrecords .t-store__card__btns-wrapper a {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  height: var(--size-xs) !important;
  min-height: var(--size-xs) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

#allrecords .t-store__card__btns-wrapper .t-btnflex__text {
  line-height: 1 !important;
}

/* Fallback для старых браузеров */
@supports not (gap: 12px) {
  #allrecords .t-store__card__btns-wrapper a + a {
    margin-top: var(--gap-sm) !important;
  }
}

/* Внутренние отступы карточки */
#allrecords .t-store__card .t-store__card__textwrapper {
  padding-top: var(--gap-md) !important;
}

#allrecords .t-store__card .t-store__card__title,
#allrecords .t-store__card .js-store-prod-name,
#allrecords .t-store__card .t-store__card__descr,
#allrecords .t-store__card .js-store-prod-descr,
#allrecords .t-store__card .t-store__card__price-wrapper,
#allrecords .t-store__card .js-store-price-wrapper {
  margin: 0 0 var(--gap-md) !important;
  padding: 0 !important;
}

#allrecords .t-store__card .t-store__card__btns-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Кнопка избранного */
#allrecords .t-store__card .t1002__addBtn,
#allrecords .t-store__card .t1002__addBtn::before,
#allrecords .t-store__card .t1002__addBtn::after {
  border-radius: var(--radius-sm) !important;
}

/* =========================
   POP-UP ТОВАРА
========================= */

/* Контейнер кнопок */
.t-store__prod-popup__btn-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: var(--gap-sm) !important;
  margin: 0 0 var(--gap-lg) !important;
  padding: 0 !important;
}

.t-store__prod-popup__btn-wrapper .t1002__addBtn {
  margin-left: 0 !important;
}

@supports not (gap: 12px) {
  .t-store__prod-popup__btn-wrapper .t1002__addBtn {
    margin-left: var(--gap-sm) !important;
  }
}

/* Кнопка действия */
.t-store__prod-popup__btn-wrapper a.t-store__prod-popup__btn,
.t-store__prod-popup__btn-wrapper a.t-store__prod__btn {
  width: 216px !important;
  min-width: 216px !important;
  height: var(--size-md) !important;
  min-height: var(--size-md) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* Кнопка избранного в попапе */
.t-store__prod-popup__btn-wrapper .t1002__addBtn {
  width: var(--size-md) !important;
  height: var(--size-md) !important;
  min-width: var(--size-md) !important;
  min-height: var(--size-md) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.t-store__prod-popup__btn-wrapper .t1002__addBtn svg,
.t-store__prod-popup__btn-wrapper .t1002__addBtn img {
  max-width: 60% !important;
  max-height: 60% !important;
}

/* Отступы информации в попапе */
.t-store__prod-popup__info .t-store__prod-popup__name,
.t-store__prod-popup__info .js-store-prod-name,
.t-store__prod-popup__info .t-store__prod-popup__sku,
.t-store__prod-popup__info .js-store-price-wrapper {
  margin: 0 0 var(--gap-md) !important;
  padding: 0 !important;
}

.t-store__prod-popup__info .t-store__prod-popup__brand,
.t-store__prod-popup__info .js-store-prod-brand,
.t-store__prod-popup__info .t-store__prod-popup__text,
.t-store__prod-popup__info .js-store-prod-text,
.t-store__prod-popup__info .js-store-prod-all-text {
  margin: 0 !important;
  padding: 0 !important;
}

.t-store__prod-popup__text .js-store-prod-all-text,
.t-store__prod-popup__info .js-store-prod-all-text,
.t-store__prod-popup .js-store-prod-all-text {
  padding-bottom: 4px !important;
}

/* =========================
   ПАГИНАЦИЯ
========================= */

#allrecords .t-store__pagination {
  margin-top: var(--gap-lg) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--gap-xs) !important;
}

#allrecords .t-store__pagination > .t-store__pagination_item,
#allrecords .t-store__pagination > .js-pagination-item {
  margin: 0 !important;
  width: var(--size-xs) !important;
  height: var(--size-xs) !important;
  min-width: var(--size-xs) !important;
  min-height: var(--size-xs) !important;
  max-width: var(--size-xs) !important;
  max-height: var(--size-xs) !important;
  flex: 0 0 var(--size-xs) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: var(--size-xs) !important;
}

#allrecords .t-store__pagination > .t-store__pagination_item a,
#allrecords .t-store__pagination > .js-pagination-item a {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-sm) !important;
}

#allrecords .t-store__pagination svg.t-store__pagination__arrow,
#allrecords .t-store__pagination svg.t-store__pagination__arrow_prev,
#allrecords .t-store__pagination svg.t-store__pagination__arrow_next {
  width: var(--gap-sm) !important;
  height: var(--gap-sm) !important;
}

/* =========================
   ФИЛЬТРЫ И РАЗДЕЛЫ КАТАЛОГА
========================= */

/* Убираем попап выбранных фильтров */
#allrecords #rec1807487661 .t-store__filter__chosen-bar,
#allrecords #rec1807487661 .store__filter__chosen-bar {
  display: none !important;
}

/* Кнопки разделов */
#allrecords .t951 .t-store__parts-switch-btn,
#allrecords .t951 .t-store__parts-tree-btn {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Чекбоксы в фильтрах */
#allrecords #rec1807487661 .t-store__filter__item .t-checkbox__control {
  margin-bottom: var(--gap-xs) !important;
}

/* Мобильная версия разделов */
@media screen and (max-width: 960px) {
  #allrecords .t951 .t-store__parts-switch-wrapper_tree {
    display: none !important;
  }

  #allrecords .t951 .t-store__parts-switch-wrapper_mobile {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: var(--gap-xs) !important;
  }

  #allrecords .t951 .t-store__parts-switch-wrapper_mobile .t-store__parts-item {
    margin: 0 !important;
  }
  
  #allrecords #rec1807487661 .t951__sidebar-wrapper .t-store__parts-switch-wrapper {
    display: none !important;
  }
}

/* Desktop версия каталога */
@media screen and (min-width: 961px) {
  #allrecords .t951__sidebar .t-store__parts-switch-wrapper {
    margin-bottom: var(--gap-md) !important;
  }

  #allrecords .t951__sidebar .t-store__filter__item-title {
    margin-bottom: var(--gap-sm) !important;
  }

  #allrecords .t951__sidebar .t-store__filter__item {
    margin-bottom: var(--gap-md) !important;
  }

  #allrecords .t951 .t-store__filter__search-and-sort {
    margin-bottom: var(--gap-md) !important;
  }

  /* Выравнивание разделов */
  #allrecords #rec1807487661 .t-store__parts-tree-root-wrapper {
    display: flex !important;
    flex-direction: column !important;
    row-gap: 2px !important;
  }

  #allrecords #rec1807487661 .t-store__parts-switch-btn,
  #allrecords #rec1807487661 .t-store__parts-tree-node {
    margin: 0 !important;
    height: auto !important;
    min-height: 33px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* =========================
   ПОИСК (T985)
========================= */

/* Шапка поиска */
#allrecords .t985__widgetheader,
#allrecords .t-search-widget__header {
  height: var(--size-lg) !important;
  min-height: var(--size-lg) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

#allrecords .t985__inputcontainer {
  height: var(--size-lg) !important;
  min-height: var(--size-lg) !important;
  display: flex !important;
  align-items: center !important;
}

/* Поле ввода поиска */
#allrecords .t985__blockinput,
#allrecords .t-search-widget__blockinput {
  height: var(--size-md) !important;
  min-height: var(--size-md) !important;
  border-radius: var(--radius-md) !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

#allrecords .t985__input,
#allrecords .t-search-widget__input,
#allrecords .t985 input[type="search"],
#allrecords .t985 input[type="text"],
#allrecords .t985__blockinput input {
  height: var(--size-md) !important;
  min-height: var(--size-md) !important;
  line-height: var(--size-md) !important;
  border-radius: var(--radius-md) !important;
  box-sizing: border-box !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Попап результатов поиска */
#allrecords .t985__overlay .t-search-widget__popup {
  padding-top: var(--size-lg) !important;
  box-sizing: border-box !important;
}

#allrecords .t-search-widget__popup .t-search-widget__result {
  margin-bottom: var(--gap-md) !important;
}

#allrecords .t-search-widget__popup .t-search-widget__query-result {
  margin: var(--gap-lg) 0 !important;
  box-sizing: border-box !important;
}

#allrecords .t-search-widget__popup .t-search-widget__search-icon {
  padding-left: var(--gap-xs) !important;
  padding-right: var(--gap-xs) !important;
  width: var(--size-xs) !important;
  box-sizing: border-box !important;
}

#allrecords .t-search-widget__popup .t-search-widget__productwrapper {
  margin-bottom: var(--gap-md) !important;
}

#allrecords .t-search-widget__popup .t-search-widget__result_product-img {
  width: var(--size-md) !important;
  height: var(--size-md) !important;
}

/* Кнопка "Показать ещё" в поиске */
#allrecords .t-search-widget__popup .t-search-widget__loadmore-btn-wrap {
  width: 100% !important;
  padding-top: var(--gap-lg) !important;
}

#allrecords .t-search-widget__popup .t-search-widget__loadmore-btn {
  width: 100% !important;
  max-width: 100% !important;
  height: var(--size-md) !important;
  min-height: var(--size-md) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
}

#allrecords .t-search-widget__popup .t-search-widget__loadmore-btn:hover {
  border-radius: 0 !important;
}

/* Пагинация в поиске */
#allrecords .t-search-widget__popup .t-search-widget__pagination {
  padding-top: var(--gap-md) !important;
  padding-bottom: var(--gap-md) !important;
}

#allrecords .t-search-widget__popup .t-search-widget__pagination-active {
  border-radius: var(--radius-sm) !important;
  background-color: var(--color-bg-light) !important;
}

#allrecords .t-search-widget__popup .t-search-widget__pagination-item,
#allrecords .t-search-widget__popup .t-search-widget__pagination-button {
  width: var(--size-xs) !important;
  height: var(--size-xs) !important;
}

/* Иконки и элементы управления */
#allrecords .t-search-widget__popup .t985__close-icon {
  margin-left: var(--gap-md) !important;
  margin-right: var(--gap-md) !important;
}

#allrecords .t-search-widget__popup .t-btn_sm {
  height: var(--size-xs) !important;
  padding-left: var(--gap-md) !important;
  padding-right: var(--gap-md) !important;
  text-transform: lowercase !important;
}

#allrecords .t-search-widget__popup .t-search-widget__clear-icon {
  background: var(--color-bg-light) !important;
}

/* Фикс иконки поиска на мобильных */
@media screen and (max-width: 960px) {
  #allrecords .t-search-widget__overlay_opened .t985__blockinput {
    position: relative !important;
  }

  #allrecords .t-search-widget__overlay_opened .t985__blockinput svg.t985__search-icon.t-search-widget__search-icon {
    width: 45px !important;
    height: 30px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    left: 0 !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  #allrecords .t-search-widget__overlay_opened .t985__blockinput input.t985__input.t-search-widget__input {
    padding-left: 55px !important;
  }
}

/* =========================
   КОРЗИНА (T706)
========================= */

/* Шапка страницы корзины */
#allrecords .t706__cartpage-top {
  min-height: var(--size-sm) !important;
  border-bottom: 1px solid var(--color-border) !important;
}

/* Товар в корзине */
#allrecords .t706 .t706__product-imgdiv {
  width: var(--size-md) !important;
  height: var(--size-md) !important;
  background-size: cover !important;
  background-position: 50% 50% !important;
  border-radius: 0 !important;
}

#allrecords .t706 .t706__product-thumb {
  width: var(--size-md) !important;
  height: var(--size-md) !important;
  padding-right: var(--gap-md) !important;
  vertical-align: middle !important;
}

#allrecords .t706 .t706__product-thumb img {
  border-radius: 0 !important;
}

#allrecords .t706 .t706__product + .t706__product {
  margin-top: var(--gap-md) !important;
}

/* Сайдбар корзины */
#allrecords .t706 .t706__sidebar-products {
  padding-bottom: var(--gap-md) !important;
}

#allrecords .t706 .t706__sidebar-top {
  margin-bottom: var(--gap-md) !important;
  padding: var(--gap-md) 20px var(--gap-md) !important;
  background-color: var(--color-bg-light) !important;
}

#allrecords .t706 .t706__sidebar-content .t706__cartwin-totalamount-wrap {
  margin-top: var(--gap-md) !important;
  padding-bottom: var(--gap-lg) !important;
}

#allrecords .t706 .t706__sidebar-continue {
  height: var(--size-md) !important;
  min-height: var(--size-md) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#allrecords .t706 .t706__sidebar-continue .t-btntext {
  line-height: 1.2 !important;
}

#allrecords .t706 .t706__sidebar,
#allrecords .t706 .t706__sidebar_showed {
  background-color: var(--color-overlay) !important;
}

/* Форма оформления заказа */
#allrecords .t706__cartpage-form .t-input-group {
  margin-bottom: var(--gap-md) !important;
}

#allrecords .t706__cartpage-totals {
  padding: var(--gap-md) 0 !important;
  background: var(--color-bg-white) !important;
  border-radius: var(--radius-sm) !important;
  border: 0 !important;
  position: sticky !important;
  position: -webkit-sticky !important;
}

#allrecords .t706__cartpage-totals::after {
  border-radius: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fullscreen режим корзины */
#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar-content,
#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar-content.t706__sidebar-content_showed {
  padding: var(--gap-md) !important;
  background-color: var(--color-bg-light) !important;
  box-sizing: border-box !important;
}

#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar-top {
  padding: var(--size-md) 0 var(--gap-md) !important;
  margin-bottom: var(--gap-md) !important;
  background-color: var(--color-bg-light) !important;
  box-sizing: border-box !important;
}

#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar-close {
  top: var(--gap-md) !important;
  right: var(--gap-md) !important;
}

#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar-close-btn {
  background-color: var(--color-bg-white) !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
}

#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar .t706__product {
  margin: var(--gap-md) 0 !important;
}

#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar-products {
  padding: 0 !important;
  padding-bottom: var(--gap-md) !important;
  box-sizing: border-box !important;
}

#allrecords .t706[data-cart-fullscreen="yes"] .t706__sidebar-bottom {
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Мобильная версия корзины */
@media screen and (max-width: 960px) {
  #allrecords .t706 .t706__cartpage-totals {
    padding: var(--gap-md) 0 var(--gap-lg) !important;
  }

  #allrecords .t706 .t706__cartpage-products {
    padding-top: var(--gap-md) !important;
    padding-bottom: var(--gap-md) !important;
  }

  #allrecords .t706 .t706__cartpage-products .t706__product {
    margin: 0 !important;
  }

  #allrecords .t706 .t706__cartpage-products .t706__product + .t706__product {
    margin-top: var(--gap-md) !important;
  }

  #allrecords .t706 .t706__cartpage-open-form {
    height: var(--size-md) !important;
    min-height: var(--size-md) !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
  }
}

/* Скрытие скроллбара на мобильных */
@media screen and (max-width: 640px) {
  #allrecords .t706__cartwin,
  #allrecords .t706__cartwin-content {
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
  }

  #allrecords .t706__cartwin-content,
  #allrecords .t706__cartwin-products {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  #allrecords .t706__cartwin-content::-webkit-scrollbar,
  #allrecords .t706__cartwin-products::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
  }
}

/* =========================
   ИЗБРАННОЕ (T1002)
========================= */

/* Шапка избранного */
#allrecords .t1002__wishlistwin-top {
  height: 65px !important;
  min-height: 65px !important;
  box-sizing: border-box !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: var(--gap-md) !important;
  border-bottom: 1px solid var(--color-border) !important;
}

#allrecords .t1002__wishlistwin-content,
#allrecords .t1002__wishlistwin-content_showed {
  background-color: var(--color-bg-light) !important;
}

#allrecords .t1002__wishlistwin {
  background-color: var(--color-overlay) !important;
}

/* Товары в избранном */
#allrecords .t1002__wishlistwin .t1002__product {
  margin: var(--gap-md) 0 !important;
  padding: 0 !important;
}

#allrecords .t1002__wishlistwin .t1002__product:last-child {
  padding-bottom: var(--gap-md) !important;
}

#allrecords .t1002__wishlistwin .t1002__product-thumb {
  width: var(--size-md) !important;
  min-width: var(--size-md) !important;
  height: var(--size-md) !important;
  padding-right: var(--gap-md) !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  flex: 0 0 var(--size-md) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

#allrecords .t1002__wishlistwin .t1002__product-imgdiv,
#allrecords .t1002__wishlistwin .t1002__product-img {
  width: var(--size-md) !important;
  height: var(--size-md) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background-size: cover !important;
  background-position: center !important;
}

#allrecords .t1002__wishlistwin .t1002__product-thumb img {
  width: var(--size-md) !important;
  height: var(--size-md) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  object-fit: cover !important;
}

/* Кнопка закрытия */
#allrecords .t1002__close-button {
  width: auto !important;
  margin-right: var(--gap-md) !important;
  padding: 10px !important;
}

/* Fullscreen режим избранного */
#allrecords #rec1815102681 .t1002__wishlistwin-content,
#allrecords #rec1815102681 .t1002__wishlistwin-content.t1002__wishlistwin-content_showed {
  background-color: var(--color-bg-white) !important;
  padding: var(--gap-md) !important;
  box-sizing: border-box !important;
}

#allrecords #rec1815102681 .t1002__wishlistwin-top {
  padding: var(--size-md) 0 var(--gap-md) !important;
  margin-bottom: var(--gap-md) !important;
  border-bottom: 1px solid var(--color-border) !important;
  height: auto !important;
  min-height: unset !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

#allrecords #rec1815102681 .t1002__wishlistwin-products {
  padding: 0 !important;
  box-sizing: border-box !important;
}

#allrecords #rec1815102681 .t1002__wishlistwin-close,
#allrecords #rec1815102681 .t1002 .t1002__close {
  top: var(--gap-md) !important;
  right: var(--gap-md) !important;
}

#allrecords #rec1815102681 .t1002__wishlistwin-close-button,
#allrecords #rec1815102681 .t1002 .t1002__close-button {
  background-color: var(--color-bg-light) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
}

/* =========================
   МЕНЮ (REC1815082201)
========================= */

@media screen and (min-width: 961px) and (max-width: 980px) {
  #allrecords #rec1815082201 .t-menu-base__list {
    gap: var(--gap-xs) !important;
  }
}

@media screen and (min-width: 981px) {
  #allrecords #rec1815082201 .t-menu-base__list {
    gap: var(--gap-sm) !important;
  }
  
  #allrecords #rec1815082201 .t-menuwidgeticons__wrapper {
    gap: var(--gap-sm) !important;
  }
}

/* Мобильное меню */
@media screen and (max-width: 960px) {
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu-base__maincontainer,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu-base__maincontainer_logocenter,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu_base__maincontainer,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu_base__maincontainer_logocenter {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu-base__logowrapper,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu-base__logowrapper_center,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu-base__logowrapper_both,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu-base__rightwrapper,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu_base__logowrapper,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu_base__logowrapper_center,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu_base__logowrapper_both,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu_base__rightwrapper {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu-base__rightwrapper:not(:has(*)),
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed .t-menu_base__rightwrapper:not(:has(*)) {
    display: none !important;
  }

  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu-base__list,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu__list,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu_base__list {
    margin: 0 !important;
    padding: var(--gap-lg) 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--gap-md) !important;
  }

  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu-base__list > li,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu__list > li,
  #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu_base__list > li {
    margin: 0 !important;
    padding: 0 !important;
  }

  @supports not (gap: 24px) {
    #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu-base__list > li + li,
    #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu__list > li + li,
    #allrecords #rec1815082201 #nav1815082201.tmenu-mobile__menucontent_fixed ul.t-menu_base__list > li + li {
      margin-top: var(--gap-md) !important;
    }
  }
}

/* =========================
   ФОРМЫ И ПОЛЯ ВВОДА
========================= */

/* Заголовки полей */
#allrecords .t706 .t-input-title {
  padding-bottom: var(--gap-xs) !important;
}

/* Поля ввода */
#allrecords .t706 .t-form .t-input,
#allrecords .t706 .t-form .t-select {
  height: var(--input-height-desktop) !important;
  min-height: var(--input-height-desktop) !important;
  line-height: var(--input-height-desktop) !important;
  box-sizing: border-box !important;
}

#allrecords .t706 .t-form textarea.t-input {
  line-height: 1.55 !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

/* Блок доставки */
#allrecords #customdelivery {
  margin-top: var(--size-md) !important;
}

/* Заголовки */
#allrecords .t-name.t-name_md {
  margin: var(--gap-md) 0 !important;
}

/* Подписи */
#allrecords .t-input-description.t-text.t-text_xs {
  color: var(--color-text-secondary) !important;
  margin: var(--gap-xs) 0 !important;
}

/* Адреса */
#allrecords div#addresses-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  margin: 20px 0 !important;
}

/* Мобильные поля */
@media screen and (max-width: 960px) {
  #allrecords .t706 .t-form .t-input,
  #allrecords .t706 .t-form .t-select {
    height: var(--input-height-mobile) !important;
    min-height: var(--input-height-mobile) !important;
    line-height: var(--input-height-mobile) !important;
  }
  
  #allrecords #customdelivery {
    margin-top: var(--gap-lg) !important;
  }
  
  #allrecords .t-name.t-name_md {
    margin: 16px 0 !important;
  }
}

/* =========================
   КНОПКИ
========================= */

#allrecords .t-btnflex_md,
#allrecords .t-btn.t-btnflex_md,
#allrecords .t-submit.t-btnflex_md {
  height: var(--button-height-desktop) !important;
  min-height: var(--button-height-desktop) !important;
  font-size: 16px !important;
  padding-left: var(--button-padding-desktop) !important;
  padding-right: var(--button-padding-desktop) !important;
  line-height: 1.2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 960px) {
  #allrecords .t-btnflex_md,
  #allrecords .t-btn.t-btnflex_md,
  #allrecords .t-submit.t-btnflex_md,
  #allrecords .t-btn.t-btn_sm {
    height: var(--button-height-mobile) !important;
    min-height: var(--button-height-mobile) !important;
    padding-left: var(--button-padding-mobile) !important;
    padding-right: var(--button-padding-mobile) !important;
  }
  
  #allrecords .t706__cartpage-open-form,
  #allrecords .t706 .t-btnflex.t-btnflex_type_button.t-btnflex_md {
    height: var(--button-height-mobile) !important;
    min-height: var(--button-height-mobile) !important;
  }
}

/* =========================
   FALLBACK ДЛЯ СТАРЫХ БРАУЗЕРОВ
========================= */

@supports not (display: flex) {
  #allrecords div#addresses-wrapper {
    display: block !important;
  }
}