/* Base Styles */
body {
  background-color: #F4FBFF;
}

.toopltip-none.tn-atom__pin {
    pointer-events: none!important;
    
}
/* 1. Разрешаем контейнеру расширяться и не прятать overflow */
.uc-tab .t395__col {
  overflow: visible !important;
}

/* 2. Отключаем ограничение по max-width у колонки */
.uc-tab .t-width_4 {
  max-width: none !important;
}

.uc-tab .t395__tab_active:after {
    width: 0!important;
}
/* 3. Делаем ul-список flex-контейнером с переносом и промежутками */
.uc-tab .t395__wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;            /* расстояние между табами */
  overflow: visible !important;
  width: auto !important;
}

/* 4. Общие стили для всех табов */
.uc-tab .t395__tab {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0px 30px;
  border: 1px solid #D24764 !important;
  background: transparent !important;
  border-radius: 999px !important;  /* полностью скругляем */
  transition: background .2s, color .2s;
  width: auto !important;            /* убираем фикс-ширину */
}

/* 5. Стили для заголовка в неактивном табе */
.uc-tab .t395__tab .t395__title {
  color: #D24764 !important;
  font-weight: 500 !important;
}

/* 6. Активный таб */
.uc-tab .t395__tab.t395__tab_active {
  background-color: #D24764 !important;
  border-color:   #D24764 !important;
}

/* 7. Цвет текста активного таба */
.uc-tab .t395__tab.t395__tab_active .t395__title {
  color: #ffffff !important;
}

.uc-tab .t-width_4 {
    padding-left: 20px;
}

.uc-logo .t396__artboard {
    overflow-y: visible!important;
}



.tn-atom__tip {
    width: 180px!important;
}

.t-store__card__wrap_all, .t774__wrapper {
  box-shadow: 0px 30px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Links */
a.link {
  transition: color 0.3s ease;
}

a.link:hover {
  color: #C13854;
}

/* Links inside .t396__elem.link */
.t396__elem.link .tn-atom,
.t396__elem.link a,
.t396__elem.head-f .tn-atom,
.t396__elem.head-f a{
  color: inherit !important;
  transition: color 0.3s ease !important;
}

.t396__elem.link:hover .tn-atom,
.t396__elem.link:hover a {
  color: #C13854 !important;
}

.t396__elem.head-f:hover .tn-atom,
.t396__elem.head-f:hover a {
  color: #000 !important;
}

/* General Transitions */
.tn-molecule .mainbg-b .tn-atom,
.tn-molecule .secondbg-b .tn-atom,
.tn-molecule .arrow-b img,
.tn-molecule .head-b .tn-atom,
.tn-molecule .desc-b .tn-atom {
  transition: all 0.2s ease;
}

/* Hover Effects on Molecules */
.tn-molecule:hover .mainbg-b .tn-atom {
  background-color: #D24764 !important;
}

.tn-molecule:hover .secondbg-b .tn-atom {
  background-color: #ffffff !important;
}

.tn-molecule:hover .head-b .tn-atom,
.tn-molecule:hover .desc-b .tn-atom {
  color: #ffffff !important;
}

.tn-molecule:hover .arrow-b img {
  filter: invert(1);
  transform: rotate(45deg);
}

/* Store Tabs - Active Button */
.t-store .t-store__tabs__controls .t-store__tabs__button_active {
  background-color: #d24764 !important;
  border: none !important;
  border-radius: 20px !important;
  color: #fff !important;
  margin: 5px !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease !important;
}

/* Store Tabs - Default Button */
.t-store .t-store__tabs .t-store__tabs__button {
  background-color: white;
  border: none !important;
  border-radius: 40px !important;
  color: #fff !important;
  margin: 5px !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease !important;
}

.t-store .t-store__tabs .t-store__tabs__button:hover {
  background-color: #d24764 !important;
  border-bottom: none !important;
  color: #333 !important;
}

/* Store Content */
.t-store .t-store__tabs_tabs .t-store__tabs__content {
  background: #fff;
  border-radius: 20px;
  margin: 30px 0 0 0;
  max-width: 100%;
  padding: 20px;
}

/* Store Grid */
.t-store__prod-popup__container .js-store-relevants-grid-cont, .js-store-grid-cont {
  box-sizing: border-box;
  display: grid !important;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.uc-maincatalog .js-store-grid-cont {
  padding: 0 20px;
}

.t-store__relevants-grid-cont .t-store__card__wrap_all {
  background-color: #fff !important;
}

.js-store-grid-cont:before,
.js-store-grid-cont:after,
.t-store__grid-separator {
  display: none !important;
}

/* Product Card */
.uc-maincatalog .js-product {
  margin: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Product Edition Option */
/* .js-product-edition-option {
   display: flex;
   gap: 20px;
   justify-content: space-between;
} */

/* Card Images */
.t-store__card__bgimg,
.t-store__card__bgimg_second {
  border-radius: 12px !important;
  margin: 10px;
  overflow: hidden;
}

/* Card Buttons */
.t-store__card__btns-wrapper a {
  width: 100%;
}

/* Slider Container */
.t-slds__container {
  border-radius: 20px;
}

/* Slider Thumbs */
.t-slds__bgimg,
.t-slds__thumbsbullet-border {
  border-radius: 10px;
}

/* Filter Panel */
.t-store__filter__controls-wrapper {
  background-color: white;
  border-radius: 16px;
  box-sizing: border-box;
  padding: 20px;
}

/* Filter Items */
.t-store__filter__item {
  background-color: rgba(245, 231, 35, 0.09);
  border-radius: 16px;
  padding: 4px 10px;
}

.t-store__filter__item-title {
  color: #002861 !important;
}

/* Filter Search & Sort */
.js-store-filter-search,
.t-store__sort-select {
  background-color: white;
  border-radius: 100px !important;
}

/* Chosen Filter Values */
.t-store__filter__chosen-val {
  background-color: white;
}

/* Reset Filters Button */
.t-store__filter__reset {
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 100px;
  padding: 4px 8px;
}

/* Products Count */
.t-store__filter__prods-number {
  background-color: #ffffff;
  border: 1px solid #2379f5;
  border-radius: 100px;
  color: #2379f5 !important;
  display: inline-block;
  font-weight: 500;
  padding: 4px 12px;
}

/* Price Filter Inputs */
.js-store-filter-pricemin,
.js-store-filter-pricemax {
  background-color: white;
  border: 1px solid #254777;
  border-radius: 8px;
}

/* Filter Action Button */
.t-store__filter__btn {
  border-color: #2379f5;
  border-radius: 4px;
  color: white;
  background-color: #2379f5;
  transition: all 0.3s ease-in;
}

.t-store__filter__btn:hover {
  background-color: #115ecd;
}

/* Filter Arrow in Titles */
.t-store__filter__item-title:after {
  border-bottom-color: #002861;
  border-right-color: #002861;
  top: -3px;
}

/* Checkbox Styles */
.t-checkbox__indicator {
  border-radius: 4px;
}

.t-store__tabs__button_active .t-store__tabs__button-title {
    color: #fff !important;
}

.t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row {
    overflow-x: hidden !important;
}

.t-store__scroll-icon-wrapper {
    display: none!important;
}
/* Filter Controls Wrap (Desktop) */
@media screen and (min-width: 960px) {
    
.t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row {
    overflow-x: hidden !important;
}

    
  .t-store__filter__item-controls-wrap {
    background-color: #ecf3fe;
    border: 1px solid #8196b3;
    border-radius: 12px;
    box-shadow: none;
  }

  .t-store__filter__custom-sel:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }

  .t-store__filter__item {
    margin-right: 10px;
  }
}

/* Tablet & Mobile Filters */
@media screen and (max-width: 1200px) {
.uc-tab .t-width_4 {
    padding-left: 10px;
}
}

@media screen and (max-width: 959px) {
  .t-store__filter__item_sort-mobile,
  .t-store__filter__item_price,
  .t-store__filter__item_select,
  .t-store__filter__item_checkbox {
    background-color: rgba(35, 121, 245, 0.09) !important;
    border: none !important;
    border-radius: 12px;
    margin-bottom: 10px !important;
    padding: 10px !important;
  }
}

/* Responsive Grid: Tablets */
@media screen and (max-width: 960px) {
 .t-store__prod-popup__container .js-store-relevants-grid-cont, .js-store-grid-cont {
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
.uc-tab .t-width_4 {
    padding-left: 0px;
}
}

/* Responsive Grid: Mobile */
@media screen and (max-width: 560px) {
    
    .tn-atom__tip-text {
        font-size: 10px;
    }
    
    .t-popup_show .t-popup__container.t-popup__container-static {
        margin: 50px 0 10px!important;
    }
  /* Active Tab underline removal */
  .t-store .t-store__tabs__controls .t-store__tabs__button_active .t-store__tabs__button-title:after {
    border-bottom: none !important;
  }

  .t-store .t-store__tabs__controls {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .t-store .t-store__tabs__controls .t-store__tabs__button {
    border: none !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    margin: 5px !important;
    max-width: 84% !important;
    overflow: visible !important;
    padding: 0 20px !important;
    position: relative !important;
    text-align: center !important;
    width: 100% !important;
  }
}

/* Responsive Grid: Small Mobile */
@media screen and (max-width: 480px) {
    
    #sku-gallery-overlay, .t-store__prod-popup__slider {
        max-height: 250px!important;
    }
    
  .t-store__prod-popup__container .js-store-relevants-grid-cont, .js-store-grid-cont {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Кастомизация каталога */
.t-store__prod-popup__info {
    background-color: #fff;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 16px;
    flex-wrap: wrap;
    position: relative;
}

.t-store__prod-popup__price-wrapper {
    display: none;
}

.t-store__card__price-wrapper {
    display: none;
}

@media screen and (max-width: 1240px) {
    .t-store__prod-popup__col-right {
        max-width: 480px;
    }
}

@media screen and (max-width: 980px) {
    .t-store__prod-popup__col-right {
        max-width: 100%;
        margin-top: 20px;
    }
    
    .t-store__product-snippet .t-store__prod-popup__col-left {
        width: 100%;
        max-width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .t-store__prod-popup__col-right {
        margin-left: 0;
    }
    
    .t-store__prod-snippet__container {
        margin: 10px;
    }
    
        .t-store.t-store__prod-snippet__container .t-store__tabs {
        padding-left: 0px!important;
        padding-right: 0px!important;
    }
    }
}

/* Блок ТЗ */
.t-store__tabs__item[data-tab-title="Техническое задание"] {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    padding: 24px;
    margin-top: 20px;
    max-width: 540px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Заголовок */
.t-store__tabs__item[data-tab-title="Техническое задание"] .t-store__tabs__item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

/* Кнопка-ссылка на файл */
.t-store__tabs__item[data-tab-title="Техническое задание"] .t-store__tabs__content a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #f5f7fa;
    color: #1d4ed8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.t-store__tabs__item[data-tab-title="Техническое задание"] .t-store__tabs__content a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('https://static.tildacdn.com/tild6137-3730-4161-a134-313938336230/file.svg');
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    opacity: 0.85;
}

.t-store__tabs__item[data-tab-title="Техническое задание"] .t-store__tabs__content a:hover {
    background-color: #e8eefc;
    border-color: #b4c5f5;
    color: #1e40af;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.t-store__tabs__item[data-tab-title="Техническое задание"] .t-store__tabs__content a:active {
    background-color: #dce5fb;
    transform: scale(0.98);
}

.t-store__tabs__item[data-tab-title="Техническое задание"] .t-store__tabs__content::before {
    content: "Скачать файл:";
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Rubik', sans-serif;
}


.js-store-tabs .t-descr_xxs {
    font-size: 14px;
}

.t-store__prod-snippet__container {
    padding-top: 50px;
    padding-bottom: 0px;
}

.t706__product-amount, .t706__cartwin-prodamount-wrap, .t706__cartwin-totalamount-wrap, .js-store-prod-descr, .t-store__prod-popup__sku, .t706__carticon-text {
    display: none!important;
}

.t-store__parts-switch-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Общий стиль кнопки */
.js-store-parts-switcher {
  padding: 6px 14px;
  border: 1px solid rgb(210, 71, 100);
  border-radius: 999px;
  background-color: transparent;
  color: rgb(210, 71, 100);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

/* Наведение */
.js-store-parts-switcher:hover {
  background-color: rgba(210, 71, 100, 0.1);
}

/* Активная кнопка */
.js-store-parts-switcher.t-active {
  background-color: rgb(210, 71, 100);
  color: #fff;
}

.t-store__parts-switch-btn {
    margin: 0!important;
}

.t-store__parts-switch-wrapper .t-store__parts-switch-btn.t-active {
    opacity: 1 !important;
}

