html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
}

#allrecords {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#allrecords > .t-rec {
  flex: 0 0 auto;
}

#t-footer {
  margin-top: auto !important;
}

/* =========================================================
   Стилизация выезжающего меню (Техническое)
========================================================= */

#mainMenuOverlay,
#mainMenuDrawer,
#mainMenuDrawer *{
    box-sizing:border-box;
    font-family:"Inter", Arial, sans-serif !important;
}

#mainMenuOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.3s ease;
    z-index:9998;
}

#mainMenuOverlay.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

#mainMenuDrawer{
    position:fixed;
    top:90px;
    left:50%;
    transform:translateX(-50%) scale(.96);
    width:520px;
    max-width:92vw;
    background:#fff;
    border-radius:28px;
    box-shadow:0 30px 80px rgba(0,0,0,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.3s ease;
    z-index:9999;
    overflow:hidden;
}

#mainMenuDrawer.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) scale(1);
}

.mainMenuHeader{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 35px;
    border-bottom:1px solid #eeeeee;
    background:#fff;
}

.mainMenuTitle{
    font-size:34px;
    line-height:1;
    font-weight:800;
    color:#111;
}

#mainMenuClose{
    width:44px;
    height:44px;
    border:none;
    background:transparent;
    color:#111;
    font-size:42px;
    line-height:1;
    font-weight:300;
    cursor:pointer;
    padding:0;
}

.mainMenuList{
    display:grid;
    gap:0;
    padding:18px 0;
    background:#fff;
}

/* Перебиваем возможные стили ссылок Tilda */
#mainMenuDrawer .mainMenuList a,
#mainMenuDrawer .mainMenuList a:link,
#mainMenuDrawer .mainMenuList a:visited,
#mainMenuDrawer .mainMenuList a:hover,
#mainMenuDrawer .mainMenuList a:active{
    display:flex;
    align-items:center;
    min-height:58px;
    padding:0 35px;
    color:#222 !important;
    -webkit-text-fill-color:#222 !important;
    text-decoration:none !important;
    background:transparent !important;
    border-bottom:1px solid #f3f3f3;
    font-size:19px !important;
    line-height:1.25;
    font-weight:700;
    transition:.2s ease;
}

#mainMenuDrawer .mainMenuList a:hover{
    background:#f6f6f6 !important;
    color:#111 !important;
    -webkit-text-fill-color:#111 !important;
}

/* ===================== МОБИЛЬНАЯ ВЕРСИЯ ===================== */

@media(max-width:980px){

    #mainMenuDrawer{
        position:fixed !important;
        top:0 !important;
        left:0 !important;
        right:0 !important;
        bottom:0 !important;
        width:100vw !important;
        height:100dvh !important;
        max-width:none !important;
        border-radius:0 !important;
        transform:none !important;
        margin:0 !important;
        overflow:auto;
    }
    
    #mainMenuDrawer.active{
        transform:none !important;
    }

    .mainMenuHeader{
        height:100px;
        padding:0 28px;
    }

    .mainMenuTitle{
        font-size:32px;
    }

    #mainMenuClose{
        font-size:42px;
    }

    .mainMenuList{
        padding:0;
    }

    #mainMenuDrawer .mainMenuList a,
    #mainMenuDrawer .mainMenuList a:link,
    #mainMenuDrawer .mainMenuList a:visited,
    #mainMenuDrawer .mainMenuList a:hover,
    #mainMenuDrawer .mainMenuList a:active{
        min-height:62px;
        padding:0 24px;
        font-size:20px !important;
    }

}

/* =========================================================
   Стилизация выезжающего меню (Каталог)
========================================================= */

#catalogOverlay,
#catalogDrawer,
#catalogDrawer *{
    box-sizing:border-box;
    font-family:"Inter", Arial, sans-serif !important;
}

#catalogOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.3s ease;
    z-index:9998;
}

#catalogOverlay.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

#catalogDrawer{
    position:fixed;
    top:90px;
    left:50%;
    transform:translateX(-50%) scale(.96);
    width:1100px;
    height:650px;
    max-width:92vw;
    background:#fff;
    border-radius:28px;
    box-shadow:0 30px 80px rgba(0,0,0,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.3s ease;
    z-index:9999;
    overflow:hidden;
}

#catalogDrawer.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) scale(1);
}

.catalogHeader{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 35px;
    border-bottom:1px solid #eeeeee;
    background:#fff;
}

.catalogTitle{
    font-size:34px;
    line-height:1;
    font-weight:800;
    color:#111;
}

#catalogClose{
    width:44px;
    height:44px;
    border:none;
    background:transparent;
    color:#111;
    font-size:42px;
    line-height:1;
    font-weight:300;
    cursor:pointer;
    padding:0;
}

.catalogDesktop{
    display:flex;
    height:calc(100% - 90px);
}

.catalogCategories{
    width:340px;
    padding:25px;
    border-right:1px solid #eeeeee;
    background:#fff;
    overflow:auto;
}

.catalogCategory{
    padding:17px 20px;
    margin-bottom:8px;
    border-radius:16px;
    font-size:17px;
    line-height:1.2;
    font-weight:700;
    color:#222;
    cursor:pointer;
    transition:.25s ease;
}

.catalogCategory:hover{
    background:#f5f5f5;
}

.catalogCategory.active{
    background:linear-gradient(135deg,#1f1f1f,#2c2c2c);
    color:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.catalogContent{
    flex:1;
    padding:35px;
    background:#fff;
    overflow:auto;
}

.catalogPane{
    display:none;
}

.catalogPane.active{
    display:grid;
    gap:20px;
}

#catalogDrawer .catalogPane a,
#catalogDrawer .catalogPane a:link,
#catalogDrawer .catalogPane a:visited,
#catalogDrawer .catalogPane a:hover,
#catalogDrawer .catalogPane a:active,
#catalogDrawer .mobileSubmenuLinks a,
#catalogDrawer .mobileSubmenuLinks a:link,
#catalogDrawer .mobileSubmenuLinks a:visited,
#catalogDrawer .mobileSubmenuLinks a:hover,
#catalogDrawer .mobileSubmenuLinks a:active{
    color:#222 !important;
    text-decoration:none !important;
    background:transparent !important;
    border-color:#f4f4f4 !important;
    -webkit-text-fill-color:#222 !important;
}

#catalogDrawer .catalogPane a{
    font-size:21px !important;
    line-height:1.35;
    font-weight:600;
    transition:.2s ease;
}

#catalogDrawer .catalogPane a:hover{
    color:#e12626 !important;
    -webkit-text-fill-color:#e12626 !important;
}

.catalogDirectPane.active{
    display:block;
}

.directCard{
    min-height:420px;
    position:relative;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:30px;
    padding:4px 0;
    overflow:hidden;
}

.directInfo{
    position:relative;
    z-index:2;
    max-width:430px;
}

.directTitle{
    margin-bottom:14px;
    color:#222;
    font-size:30px;
    line-height:1.15;
    font-weight:800;
}

.directText{
    margin-bottom:26px;
    color:#555;
    font-size:17px;
    line-height:1.55;
    font-weight:500;
}

#catalogDrawer .directButton,
#catalogDrawer .directButton:link,
#catalogDrawer .directButton:visited,
#catalogDrawer .directButton:hover,
#catalogDrawer .directButton:active{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 22px;
    border-radius:14px;
    background:#222 !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-decoration:none !important;
    font-size:16px !important;
    line-height:1;
    font-weight:700;
    box-shadow:0 12px 30px rgba(0,0,0,.14);
}

.directVisual{
    position:absolute;
    right:20px;
    bottom:10px;
    width:300px;
    height:260px;
    opacity:.42;
    display:none;
}

.directVisual.active{
    display:block;
}

.directVisual::after{
    content:"";
    position:absolute;
    right:-50px;
    bottom:-60px;
    width:230px;
    height:230px;
    border-radius:50%;
    background:#f2f2f2;
}

.canvasSheet{
    position:absolute;
    width:150px;
    height:88px;
    border-radius:22px;
    background:#d8d8d8;
    z-index:2;
    transform:rotate(-18deg);
}

.canvasSheetOne{
    top:70px;
    left:50px;
}

.canvasSheetTwo{
    top:115px;
    left:92px;
    opacity:.9;
}

.canvasSheetThree{
    top:160px;
    left:134px;
    opacity:.8;
}

.electricLine{
    position:absolute;
    left:55px;
    height:17px;
    border-radius:999px;
    background:#d8d8d8;
    transform:rotate(-26deg);
    z-index:2;
}

.electricLineOne{
    top:76px;
    width:168px;
}

.electricLineTwo{
    top:126px;
    width:135px;
}

.electricLineThree{
    top:174px;
    width:105px;
}

.electricDot{
    position:absolute;
    width:44px;
    height:44px;
    border-radius:50%;
    border:13px solid #d8d8d8;
    z-index:2;
}

.electricDotOne{
    top:88px;
    right:58px;
}

.electricDotTwo{
    top:156px;
    right:92px;
}

.toolBar{
    position:absolute;
    left:56px;
    height:17px;
    border-radius:999px;
    background:#d8d8d8;
    transform:rotate(-28deg);
    z-index:2;
}

.toolBarOne{
    top:86px;
    width:175px;
}

.toolBarTwo{
    top:133px;
    width:132px;
}

.toolBarThree{
    top:177px;
    width:100px;
}

.toolCircle{
    position:absolute;
    right:18px;
    bottom:6px;
    width:150px;
    height:150px;
    border-radius:50%;
    background:#eeeeee;
    z-index:1;
}

.hatchBox{
    position:absolute;
    width:83px;
    height:83px;
    border:12px solid #d8d8d8;
    border-radius:18px;
    z-index:2;
}

.hatchBoxOne{
    top:67px;
    left:54px;
}

.hatchBoxTwo{
    top:119px;
    left:114px;
}

.hatchBoxThree{
    top:67px;
    left:176px;
}

.catalogMobile{
    display:none;
}

@media(max-width:980px){

    #catalogDrawer{
        position:fixed !important;
        top:0 !important;
        left:0 !important;
        right:0 !important;
        bottom:0 !important;
        width:100vw !important;
        height:100dvh !important;
        max-width:none !important;
        border-radius:0 !important;
        transform:none !important;
        margin:0 !important;
    }

    #catalogDrawer.active{
        transform:none !important;
    }

    .catalogHeader{
        height:100px;
        padding:0 28px;
    }

    .catalogTitle{
        font-size:32px;
    }

    #catalogClose{
        font-size:42px;
    }

    .catalogDesktop{
        display:none;
    }

    .catalogMobile{
        display:block;
        height:calc(100dvh - 100px);
        overflow:hidden;
        position:relative;
        width:100%;
        background:#fff;
    }
    
    .mobileCategories,
    .mobileSubmenu{
        position:absolute;
        inset:0;
        background:#fff;
        overflow:auto;
        transition:.3s ease;
        -webkit-overflow-scrolling:touch;
    }

    .mobileSubmenu{
        transform:translateX(100%);
        z-index:2;
    }

    .mobileSubmenu.active{
        transform:translateX(0);
    }

    .mobileCategory{
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:22px 24px;
        border-bottom:1px solid #f2f2f2;
        font-size:20px;
        line-height:1.2;
        font-weight:700;
        color:#222 !important;
        cursor:pointer;
        background:#fff;
    }

    .mobileArrow{
        font-size:24px;
        line-height:1;
        color:#777 !important;
    }

    .mobileBack{
        width:100%;
        display:block;
        text-align:left;
        padding:22px 24px;
        border:none;
        border-bottom:1px solid #eeeeee;
        background:#fff;
        color:#111;
        font-size:18px;
        line-height:1.2;
        font-weight:700;
        cursor:pointer;
    }

    .mobileSubmenuTitle{
        padding:24px;
        color:#111;
        font-size:28px;
        line-height:1.2;
        font-weight:800;
    }

    #catalogDrawer .mobileSubmenuLinks a{
        display:block;
        padding:18px 24px;
        font-size:19px !important;
        line-height:1.35;
        font-weight:500;
        border-bottom:1px solid #f4f4f4;
    }

}

/* =========================================================
   03. КОРЗИНА: МОБИЛЬНЫЙ ВИД ТОВАРОВ
========================================================= */

@media (max-width: 640px) {

  .t706__body_cartpageshowed .t706__product {
    position: relative !important;
    padding-top: 14px !important;
    padding-bottom: 18px !important;
  }

  .t706__body_cartpageshowed .t706__product-del-wrapper {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    opacity: 0.8;
  }

  .t706__body_cartpageshowed .t706__product-title,
  .t706__body_cartpageshowed .t706__product-title a {
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #111 !important;
  }

  .t706__body_cartpageshowed .t706__product-title {
    padding-right: 34px !important;
    margin-bottom: 6px !important;
  }

  .t706__body_cartpageshowed .t706__product-option,
  .t706__body_cartpageshowed .t706__product-params,
  .t706__body_cartpageshowed .t706__product-title + div,
  .t706__body_cartpageshowed .t706__product-text {
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: #7a7a7a !important;
  }

  .t706__body_cartpageshowed .t706__product-plusminus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-top: 8px !important;
    margin-right: 16px !important;
    vertical-align: middle !important;
  }

  .t706__body_cartpageshowed .t706__product-amount--portion {
    display: inline-block !important;
    text-align: right !important;
    vertical-align: top !important;
    margin-top: 8px !important;
    white-space: nowrap !important;
    float: right !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #222 !important;
  }

  .t706__body_cartpageshowed .t706__product-amount--portion span,
  .t706__body_cartpageshowed .t706__product-amount--portion small {
    font-size: 12px !important;
    color: #8a8a8a !important;
    font-weight: 400 !important;
  }

  .t706__body_cartpageshowed .t706__product::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
  }
  
  .t706__body_cartpageshowed .t706__product-minus,
  .t706__body_cartpageshowed .t706__product-plus {
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #7a7a7a !important;
    opacity: 1 !important;
  }

  .t706__body_cartpageshowed .t706__product-minus *,
  .t706__body_cartpageshowed .t706__product-plus * {
    color: #7a7a7a !important;
    stroke: #7a7a7a !important;
    opacity: 1 !important;
  }

  .t706__body_cartpageshowed .t706__product-quantity {
    min-width: 18px !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    display: inline-block !important;
    color: #222 !important;
  }

  .t706__body_cartpageshowed .t706__product + .t706__product {
    margin-top: 8px !important;
  }
}

/* =========================================================
   04. КОРЗИНА: ОТКЛЮЧАЕМ КЛИК ПО НАЗВАНИЯМ ТОВАРОВ
========================================================= */

.t706__product-title,
.t706__product-title a,
.t706__product-title a:link,
.t706__product-title a:visited,
.t706__product-title a:hover,
.t706__product-title a:active {
  pointer-events: none !important;
  cursor: default !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* =========================================================
   05. КАТАЛОГ: ОБЩАЯ ПОЛИРОВКА КАРТОЧЕК
========================================================= */

/* Цена — вторичный текст */
.t-store .t-store__prod__price-portion {
  color: #888 !important;
  font-size: 13px !important;
}

/* Кнопки и счётчик */
.t-store .js-store-prod-btn,
.t-store .js-store-prod-btn2,
.t-store .t-store__prod__quantity {
  border-radius: 8px !important;
}

/* Округление изображений только в плиточной версии */
.t-rec:not(.catalog-list-view) .t-store__card__imgwrapper {
  border-radius: 14px !important;
  overflow: hidden !important;
}

.t-rec:not(.catalog-list-view) .t-store__card__bgimg {
  border-radius: 14px !important;
}

/* Общий стиль кнопки в плитке */
.js-store-prod-btn {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  border-radius: 10px !important;
  height: 46px !important;
  transition: all 0.2s ease !important;
}

.js-store-prod-btn .t-store__card__btn-text {
  font-size: 13px !important;
}

@media (hover: hover) {
  .js-store-prod-btn:hover {
    background: #000 !important;
    border-color: #000 !important;
    transform: translateY(-1px);
  }
}

/* =========================================================
   06. КАТАЛОГ: РЕЖИМ СПИСКА ДЛЯ КАРТОЧЕК Используется и старым, и новым переключателем. Работает через класс .catalog-list-view на .t-rec
========================================================= */

.t-rec.catalog-list-view .t-store__card-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.t-rec.catalog-list-view .t-store__grid-separator,
.t-rec.catalog-list-view .t-clear.t-store__grid-separator {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.t-rec.catalog-list-view .js-product {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 16px !important;

  display: grid !important;
  grid-template-columns: 110px 1fr 120px !important;
  gap: 20px !important;
  align-items: center !important;

  float: none !important;
  clear: none !important;

  border: 1px solid #e5e5e5 !important;
  border-radius: 16px !important;
  background: #f7f7f7 !important;
  box-sizing: border-box !important;
}

.t-rec.catalog-list-view .js-product > a:first-child {
  width: 110px !important;
}

.t-rec.catalog-list-view .t-store__card__imgwrapper {
  width: 110px !important;
  height: 110px !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

.t-rec.catalog-list-view .t-store__card__bgimg {
  height: 110px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

.t-rec.catalog-list-view .t-store__card__wrap_txt-and-btns {
  display: contents !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.t-rec.catalog-list-view .store__card__wrap_txt-and-opts,
.t-rec.catalog-list-view .t-store__card__wrap_all,
.t-rec.catalog-list-view .t-store__card__textwrapper {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.t-rec.catalog-list-view .store__card__wrap_txt-and-opts {
  min-width: 0 !important;
}

.t-rec.catalog-list-view .t-store__card__title {
  min-height: auto !important;
  font-size: 16px !important;
  line-height: 1.25 !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

/* Цена */
.t-rec.catalog-list-view .t-store__card__price-wrapper {
  display: flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  margin-top: 5px !important;
  min-height: 18px !important;
}

.t-rec.catalog-list-view .t-store__card__price {
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.t-rec.catalog-list-view .t-store__card__price_old,
.t-rec.catalog-list-view .t-store__card__price-old,
.t-rec.catalog-list-view .t-store__card__price-wrapper s {
  font-size: 13px !important;
  line-height: 1 !important;
  color: #b5b5b5 !important;
  margin: 0 !important;
}

.t-rec.catalog-list-view .t-store__prod__price-portion {
  font-size: 13px !important;
  color: #888 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

/* В списке скрываем опции, количество и кнопку "В корзину" */
.t-rec.catalog-list-view .t-store__card__prod-controls-wrapper,
.t-rec.catalog-list-view .t-store__prod__quantity,
.t-rec.catalog-list-view .js-store-prod-btn2 {
  display: none !important;
}

/* Кнопка "К товару" */
.t-rec.catalog-list-view .t-store__card__btns-wrapper {
  width: 120px !important;
  min-width: 120px !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
}

.t-rec.catalog-list-view .t-store__card__btns-wrapper--quantity {
  display: block !important;
}

.t-rec.catalog-list-view .js-store-prod-btn {
  width: 120px !important;
  height: 46px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  transition: all 0.2s ease !important;
}

.t-rec.catalog-list-view .js-store-prod-btn .t-store__card__btn-text {
  font-size: 13px !important;
}

/* Скрываем бейджи в списке */
.t-rec.catalog-list-view .t-store__card__mark-wrapper {
  display: none !important;
}

/* Мобильная версия списка */
@media screen and (max-width: 640px) {
  .t-rec.catalog-list-view .t-store__card-list {
    gap: 10px !important;
  }

  .t-rec.catalog-list-view .js-product {
    width: calc(100% - 32px) !important;
    margin: 0 16px !important;
    padding: 10px !important;
    grid-template-columns: 76px 1fr 82px !important;
    gap: 10px !important;
    border-radius: 14px !important;
  }

  .t-rec.catalog-list-view .js-product > a:first-child,
  .t-rec.catalog-list-view .t-store__card__imgwrapper {
    width: 76px !important;
  }

  .t-rec.catalog-list-view .t-store__card__imgwrapper,
  .t-rec.catalog-list-view .t-store__card__bgimg {
    height: 76px !important;
  }

  .t-rec.catalog-list-view .t-store__card__title {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }
  
  .t-rec.catalog-list-view .t-store__card__price-wrapper {
    display: block !important;
    margin-top: 4px !important;
    min-height: auto !important;
  }

  .t-rec.catalog-list-view .t-store__card__price {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  .t-rec.catalog-list-view .t-store__prod__price-portion {
    font-size: 11px !important;
  }

  .t-rec.catalog-list-view .t-store__card__price_old,
  .t-rec.catalog-list-view .t-store__card__price-old,
  .t-rec.catalog-list-view .t-store__card__price-wrapper s {
    display: none !important;
  }

  .t-rec.catalog-list-view .t-store__card__btns-wrapper {
    width: 82px !important;
    min-width: 82px !important;
  }

  .t-rec.catalog-list-view .js-store-prod-btn {
    width: 82px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  .t-rec.catalog-list-view .js-store-prod-btn .t-store__card__btn-text {
    font-size: 12px !important;
  }
}

/* =========================================================
   08. НОВАЯ ВЕРСИЯ: TOOLBAR КАТАЛОГА Название раздела + Поделиться + Плитка / Список Новый HTML на страницах:  ...  После полного перехода: - старую секцию 07 можно удалить; - эту секцию оставить.
========================================================= */

.rp-catalog-topline {
  width: 100%;
  max-width: 1160px;
  margin: 12px auto 24px auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  box-sizing: border-box;
}

.rp-catalog-topline:has(.rp-catalog-heading) {
  align-items: flex-start;
}

.rp-catalog-heading {
  min-width: 0;
  flex: 1 1 auto;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.rp-catalog-title {
  margin: 0;

  min-width: 0;
  flex: 1 1 auto;

  overflow-wrap: anywhere;
  word-break: break-word;

  font-family: "Inter", Arial, sans-serif;
  font-size: 27px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;

  color: #101010;
}

.rp-catalog-heading .rp-catalog-title {
  flex: 0 1 auto;
}

.rp-catalog-tag {
  display: inline-flex;
  align-items: center;

  padding: 8px 13px 8px 12px;

  border-radius: 10px;
  background: #f6f6f6;
  border: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8);

  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.18;
  font-weight: 550;
  letter-spacing: -0.01em;

  color: #3f3f3f;

  white-space: normal;
  margin-left: -1px;
  max-width: 220px;
}

.rp-catalog-tag br {
  content: "";
  display: block;
  margin-top: 3px;
}

.rp-catalog-actions {
  display: flex;
  align-items: center;
  gap: 10px;

  flex: 0 0 auto;
  flex-shrink: 0;

  padding-top: 0;
}

.rp-catalog-topline:has(.rp-catalog-heading) .rp-catalog-actions {
  padding-top: 2px;
}

.rp-catalog-action-btn,
.rp-catalog-view-btn {
  width: 46px;
  height: 46px;

  border: 1px solid #e1e1e1;
  border-radius: 15px;

  background:
    linear-gradient(
      180deg,
      #fcfcfc 0%,
      #f4f4f4 100%
    );

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  cursor: pointer;
  box-sizing: border-box;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rp-catalog-action-btn:hover,
.rp-catalog-view-btn:hover {
  transform: translateY(-1px);

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f1f1f1 100%
    );

  box-shadow:
    0 4px 12px rgba(0,0,0,0.05);
}

.rp-catalog-action-btn svg,
.rp-catalog-view-btn svg {
  width: 20px;
  height: 20px;
  fill: #222;
}

.rp-catalog-share-btn {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f5f5f5 100%
    );
}

.rp-catalog-view {
  display: flex;
  align-items: center;
  gap: 4px;

  padding: 4px;

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      #f8f8f8 0%,
      #f1f1f1 100%
    );

  border: 1px solid #ececec;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.rp-catalog-view-btn {
  border-color: transparent;
  background: transparent;
}

.rp-catalog-view-btn.is-active {
  background:
    linear-gradient(
      180deg,
      #ff2d2d 0%,
      #df2020 100%
    );

  box-shadow:
    0 8px 18px rgba(223,32,32,0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.rp-catalog-view-btn.is-active svg {
  fill: #fff;
}

@media (max-width: 640px) {

  .rp-catalog-topline {
    padding: 0 16px;
    margin: 10px auto 18px auto;
    gap: 14px;
  }

  .rp-catalog-heading {
    gap: 8px;
  }

  .rp-catalog-title {
    font-size: 23px;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .rp-catalog-tag {
    padding: 7px 12px 7px 11px;

    font-size: 12px;
    line-height: 1.2;

    border-radius: 9px;

    max-width: 190px;
  }

  .rp-catalog-tag br {
    margin-top: 2px;
  }

  .rp-catalog-actions {
    padding-top: 0;
  }

  .rp-catalog-topline:has(.rp-catalog-heading) .rp-catalog-actions {
    padding-top: 0;
  }

  .rp-catalog-action-btn,
  .rp-catalog-view-btn {
    width: 42px;
    height: 42px;

    border-radius: 13px;
  }

  .rp-catalog-action-btn svg,
  .rp-catalog-view-btn svg {
    width: 18px;
    height: 18px;
  }

  .rp-catalog-view {
    padding: 3px;
    border-radius: 16px;
  }
}

/* =========================================================
   ДОПОЛНИТЕЛЬНЫЕ CSS-СТИЛИ ДЛЯ МЕНЮ КАТАЛОГА / RUPOTOLOKOPT
   Вставить в: Настройки сайта → Еще → Пользовательские CSS-стили
   Лучше вставлять в самый низ текущего общего CSS.
========================================================= */

/* =========================================================
   БЫСТРЫЕ ССЫЛКИ В МОБИЛЬНОЙ ШАПКЕ КАТАЛОГА
   Акции / Новинки — показываются только на мобильной версии.
   Версия: иконка + Акции + Новинки + закрытие в одну строку.
========================================================= */
    .catalogQuickLinks {
        display: none;
    }

    .catalogTitleIcon {
        display: none;
    }

    @media (max-width:980px) {
        #catalogDrawer .catalogHeader {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            flex-wrap: nowrap !important;
            gap: 8px !important;
            height: auto !important;
            min-height: 58px !important;
            padding-top: 12px !important;
            padding-bottom: 12px !important;
            overflow: visible !important;
        }

        /* На мобильной вместо слова "Каталог" показываем компактную иконку разделов */
        #catalogDrawer .catalogTitle {
            order: 1 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 auto !important;
            box-sizing: border-box !important;
            width: 34px !important;
            height: 34px !important;
            min-height: 34px !important;
            padding: 0 !important;
            border-radius: 12px !important;
            border: 1px solid rgba(0, 0, 0, .10) !important;
            background: #fff !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .06) !important;
            margin: 0 !important;
        }

        #catalogDrawer .catalogTitleText {
            display: none !important;
        }

        #catalogDrawer .catalogTitleIcon {
            display: grid !important;
            grid-template-columns: repeat(2, 6px);
            grid-template-rows: repeat(2, 6px);
            gap: 4px;
        }

        #catalogDrawer .catalogTitleIcon span {
            display: block;
            width: 6px;
            height: 6px;
            border-radius: 2px;
            background: #111;
        }

        .catalogQuickLinks {
            order: 2 !important;
            width: auto !important;
            flex: 0 1 auto !important;
            min-width: 0 !important;
            display: flex;
            align-items: center;
            gap: 7px;
            margin: 0 !important;
            position: relative;
            z-index: 2;
        }

        .catalogQuickLink {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            gap: 6px;
            min-height: 28px;
            box-sizing: border-box;
            padding: 6px 11px;
            border-radius: 999px;
            border: 1px solid rgba(0, 0, 0, .12);
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
            color: #111 !important;
            text-decoration: none !important;
            font-size: 11px;
            font-weight: 800;
            line-height: 1;
            letter-spacing: .02em;
            text-transform: uppercase;
            white-space: nowrap;
            -webkit-tap-highlight-color: transparent;
        }

        .catalogQuickLink:active {
            transform: scale(.98);
        }

        .catalogQuickDot {
            width: 5px;
            height: 5px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: #e41b23;
            box-shadow: 0 0 0 0 rgba(228, 27, 35, .25);
        }

        #catalogDrawer #catalogClose {
            order: 3 !important;
            flex: 0 0 auto !important;
            margin-left: auto !important;
            margin-top: 0 !important;
        }

        /* Защита для совсем узких экранов */
        @media (max-width:360px) {
            #catalogDrawer .catalogHeader {
                gap: 6px !important;
            }

            .catalogQuickLinks {
                gap: 5px;
            }

            .catalogQuickLink {
                padding-left: 9px;
                padding-right: 9px;
                font-size: 10px;
            }
        }

        body.catalog-quick-pulse .catalogQuickLink:nth-child(1) .catalogQuickDot {
            animation: catalogQuickDotBreath .72s ease-out .35s 1 both;
        }

        body.catalog-quick-pulse .catalogQuickLink:nth-child(2) .catalogQuickDot {
            animation: catalogQuickDotBreath .72s ease-out .95s 1 both;
        }
    }

    @keyframes catalogQuickDotBreath {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(228, 27, 35, .28);
        }

        45% {
            transform: scale(1.45);
            box-shadow: 0 0 0 7px rgba(228, 27, 35, .08);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(228, 27, 35, 0);
        }
    }

/* =========================================================
   ДОПОЛНИТЕЛЬНЫЙ УРОВЕНЬ МЕНЮ ДЛЯ ТРЕКОВОГО ОСВЕЩЕНИЯ
   Тут можно менять ссылки/подпункты Track 23 и Track 25.
========================================================= */
    .catalogNestedItem {
        position: relative;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
        margin: 0 0 24px !important;
    }

    /* На ПК держим "Трековое освещение" и Track 23 / Track 25 в одной строке */
    .catalogNestedTitle {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        flex: 0 0 auto;
        cursor: default;
        color: #2b2b2b;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.3;
        margin: 0 !important;
    }

    /* На ПК стрелку не показываем: выбор Track 23 / Track 25 уже виден сразу */
    .catalogNestedArrow {
        display: none;
    }

    /* На ПК показываем Track 23 / Track 25 сразу как компактные, заметные кнопки */
    .catalogNestedLinks {
        display: flex !important;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        flex: 0 0 auto;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .catalogNestedItem:hover .catalogNestedLinks,
    .catalogNestedItem.active .catalogNestedLinks {
        display: flex !important;
    }

    .catalogNestedLinks a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 100px;
        box-sizing: border-box;
        padding: 7px 15px !important;
        margin: 0 !important;
        border: 1px solid rgba(0, 0, 0, .22);
        border-radius: 12px;
        background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
        box-shadow: 0 6px 14px rgba(0, 0, 0, .07);
        color: #202020;
        text-decoration: none;
        font-size: 18px;
        font-weight: 800;
        line-height: 1.15;
        transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .catalogNestedLinks a:hover {
        background: #222;
        color: #fff;
        border-color: #222;
        box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
        transform: translateY(-1px);
    }

    /* На мобильной вложенный пункт должен выглядеть как остальные строки меню */
    .mobileSubmenuItem {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        padding: 18px 22px;
        border-bottom: 1px solid rgba(0, 0, 0, .07);
        color: #111;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.35;
    }

    .mobileSubmenuItem:hover {
        background: rgba(0, 0, 0, .03);
    }

    @media (max-width:980px) {
        .catalogNestedItem {
            display: block;
            margin: 0 !important;
        }

        .catalogNestedTitle {
            font-size: 18px;
            font-weight: 500;
        }
    }

    /* =========================================================
   ФИНАЛЬНАЯ ПРАВКА РИТМА ДЛЯ РАЗДЕЛА ОСВЕЩЕНИЕ НА ПК
   Убираем лишний воздух: кнопки ниже, а шаг до следующего пункта компактнее.
========================================================= */
    @media (min-width:981px) {
        #lighting.catalogPane {
            gap: 0 !important;
        }

        #lighting .catalogNestedItem {
            margin: 0 0 15px !important;
        }

        #lighting>a {
            display: block !important;
            margin: 0 0 19px !important;
            padding: 0 !important;
            line-height: 1.3 !important;
        }

        #lighting>a:last-child {
            margin-bottom: 0 !important;
        }
    }

/* =========================================================
   АКЦЕНТНЫЙ ПУНКТ FERGIPPS В ОСНОВНОМ МЕНЮ
   Добавлен и на ПК, и на мобильной версии без нарушения ритма списка.
========================================================= */
    .catalogFergippsCategory {
        position: relative;
        overflow: hidden;
        background:
            linear-gradient(90deg, rgba(228, 27, 35, .08), rgba(255, 255, 255, 0) 62%) !important;
        color: #111 !important;
        font-weight: 800 !important;
        letter-spacing: .02em;
    }

    .catalogFergippsCategory::before {
        content: "";
        position: absolute;
        left: 0;
        top: 12px;
        bottom: 12px;
        width: 4px;
        border-radius: 0 999px 999px 0;
        background: #e41b23;
    }

    .catalogFergippsCategory:hover {
        background:
            linear-gradient(90deg, rgba(228, 27, 35, .12), rgba(255, 255, 255, 0) 66%) !important;
        color: #8b0d12 !important;
    }

    .mobileFergippsCategory {
        position: relative;
        overflow: hidden;
        background:
            linear-gradient(90deg, rgba(228, 27, 35, .075), rgba(255, 255, 255, 0) 64%) !important;
        color: #111 !important;
        font-weight: 800 !important;
        letter-spacing: .02em;
    }

    .mobileFergippsCategory::before {
        content: "";
        position: absolute;
        left: 0;
        top: 13px;
        bottom: 13px;
        width: 4px;
        border-radius: 0 999px 999px 0;
        background: #e41b23;
    }

    .mobileFergippsCategory span {
        position: relative;
        z-index: 1;
    }

    .mobileFergippsCategory:hover,
    .mobileFergippsCategory:active {
        color: #8b0d12 !important;
    }

    @media (max-width:980px) {
        .mobileFergippsCategory {
            padding-left: 26px !important;
        }
    }

