/* =========================================================
   ОБЩИЕ CSS-СТИЛИ TILDA / RUPOTOLOKOPT
   Вставить в: Настройки сайта → Еще → Пользовательские CSS-стили
   CSS вынесен из общего HEAD без изменения логики стилей.
========================================================= */

/* =========================================================
   ОБЩИЙ HEADER TILDA — ИСПРАВЛЕННАЯ ВЕРСИЯ - Прелоадер убран. - Старый переключатель плитка/список убран, чтобы не дублировал новый toolbar. ========================================================= --> <!-- ========================================================= 00. ШРИФТЫ ========================================================= -->    <!-- ========================================================= 01. БАЗА САЙТА: ПРИЖИМАЕМ ФУТЕР К НИЗУ
========================================================= */

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;
    }

}

/* =========================================================
   02. ЯНДЕКС.МЕТРИКА ========================================================= -->    <img src="https://mc.yandex.ru/watch/97366198" style="position:absolute; left:-9999px;" alt=""> </div> </noscript> <!-- ========================================================= 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 на страницах: <div class="rp-catalog-topline"> ... </div> После полного перехода: - старую секцию 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;
  }
}

