/* === ОБЩИЕ НАСТРОЙКИ === */

body {
  background-color: #F6F6F6;
}

/* Контейнер с кнопками — горизонтальный скролл */
.t-store__parts-switch-wrapper {
  display: flex;
  flex-wrap: nowrap;                /* запрещаем перенос */
  overflow-x: auto;                 /* появление горизонтального скролла */
  overflow-y: hidden;               /* убираем вертикальный */
  -webkit-overflow-scrolling: touch; /* плавный тач-скролл на iOS */
  cursor: grab;
}

/* При активном сдвиге — курсор «захват» */
.t-store__parts-switch-wrapper:active {
  cursor: grabbing;
}

/* Тонкий скролл для WebKit-браузеров */
.t-store__parts-switch-wrapper::-webkit-scrollbar {
  height: 6px;
}
.t-store__parts-switch-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

/* Тонкий скролл для Firefox */
.t-store__parts-switch-wrapper {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Остальные ваши стили кнопок */
.t-store__parts-switch-btn {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid black;
  color: black;
  background-color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0; /* не сжимать */
  margin-right: 0!important;
}

.t-store__parts-switch-btn.t-active {
  background-color: #FF6300;
  color: white;
  border-color: transparent;
}

/* Ховер картинок */
.zoom, .picture {
    border-radius: 10px !important; /* Скругление углов */
    overflow: hidden !important; /* Обрезка содержимого, выходящего за границы */
}

/* Добавляем плавный переход и эффект увеличения для изображения */
.zoom .t-bgimg {
    transition: transform 0.5s ease; /* Плавный переход */
}

.zoom:hover .t-bgimg {
    transform: scale(1.1); /* Увеличение изображения при наведении */
}

/* 1. Плавный переход для фонового изображения */
.tn-elem.picture .t-bgimg {
  transition: transform 0.5s ease;
  will-change: transform;
}

/* 2. При наведении на всю молекулу — масштабируем фон */
.tn-molecule:hover .t-bgimg {
  transform: scale(1.1);
}


/* === КНОПКИ В ШАПКЕ === */

.t228 .t-btn {
  height: auto !important;
  padding: 0 !important;
  margin-left: 30px !important;
  font-size: 13px !important;
}

.t228__right_buttons {
  padding-left: 0 !important;
}

.t228__right_buttons_but a {
  display: flex;
  align-items: center;
  gap: 8px;              /* Расстояние между иконкой и текстом */
  padding-left: 10px;    /* Отступ слева внутри кнопки */
}

/* === ИКОНКИ ДЛЯ КНОПОК === */

/* Почта */
.uc-menu a[href^="mailto:"]::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('https://static.tildacdn.com/tild3731-3339-4638-a261-373632393133/mail.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Телефон */
.uc-menu a[href^="tel:"]::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('https://static.tildacdn.com/tild3335-6164-4761-b132-636531613439/phone.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

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

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

/* 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: #FF6300 !important;
}

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

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

.t706__cartwin-prodamount-wrap, .t706__product-amount, .t706__cartwin-totalamount-wrap {
    display: none!important;
}


/* === АДАПТИВНАЯ ТИПОГРАФИКА === */

/* До 1200px — уменьшаем размер ссылок в меню */
@media (max-width: 1200px) {
  .t-menu__link-item {
    font-size: 14px !important;
  }
  
  .t-store__parts-switch-btn {
    font-size: 13px !important;
  }
}

/* До 980px — увеличиваем размер меню и убираем отступ у кнопок */
@media (max-width: 980px) {
    
  .uc-menu .t-menu__link-item {
    font-size: 16px !important;
  }

  .t228 .t-btn {
    margin-left: 0 !important;
  }
  
  .t228__right_buttons_wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
    .t-store__load-more-btn {
        margin-top: 40px;
    }
}