/* =============================================================
   1. КАТАЛОГ-ИСТОЧНИК (скрываем стандартный магазин)
============================================================= */
.uc-default-shop {
  position: absolute !important;
  left: -99999px !important; top: 0 !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important; opacity: 0 !important;
  pointer-events: none !important; padding: 0 !important;
}

/* =============================================================
   2. КНОПКИ
============================================================= */
/* --- btn-darck: белая заливка снизу вверх, текст тёмный --- */
.btn-darck .tn-atom { position: relative; overflow: hidden; z-index: 0; }
.btn-darck .tn-atom::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 0; background-color: #ffffff;
  transition: height 0.4s ease; z-index: -1;
}
.btn-darck .tn-atom:hover::before { height: 100%; }
.btn-darck .tn-atom:hover .tn-atom__button-text { color: #0D0D0E !important; }
.btn-darck .tn-atom__button-text { position: relative; z-index: 1; transition: color 0.4s ease; }

/* --- btn-light: тёмная заливка снизу вверх, текст белый --- */
.btn-light .tn-atom { position: relative; overflow: hidden; z-index: 0; }
.btn-light .tn-atom::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 0; background-color: #0D0D0E;
  transition: height 0.4s ease; z-index: -1;
}
.btn-light .tn-atom:hover::before { height: 100%; }
.btn-light .tn-atom:hover .tn-atom__button-text { color: #ffffff !important; }
.btn-light .tn-atom__button-text { position: relative; z-index: 1; transition: color 0.4s ease; }

/* --- btn-tag-darck: тег-группа с заливкой + инверсия стрелки --- */
.btn-tag-darck .tn-molecule { position: relative; overflow: hidden; z-index: 0; }
.btn-tag-darck .tn-molecule::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 0; background-color: #ffffff;
  transition: height 0.4s ease; z-index: 0;
}
.btn-tag-darck:hover .tn-molecule::before { height: 100%; }
.btn-tag-darck .tn-molecule .t396__elem { position: relative; z-index: 1; }
.btn-tag-darck [data-elem-type="text"],
.btn-tag-darck [data-elem-type="text"] * { transition: color 0.4s ease !important; }
.btn-tag-darck:hover [data-elem-type="text"],
.btn-tag-darck:hover [data-elem-type="text"] * { color: #0D0D0E !important; }
.btn-tag-darck .tn-elem[data-elem-type="image"] .tn-atom__img { transition: filter 0.4s ease; }
.btn-tag-darck:hover .tn-elem[data-elem-type="image"] .tn-atom__img { filter: invert(1); }

/* --- btn-dot: заливка + пунктирная рамка --- */
.btn-dot .tn-atom { position: relative; overflow: hidden; z-index: 0; }
.btn-dot .tn-atom::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 0; background-color: #ffffff;
  transition: height 0.4s ease; z-index: 0;
}
.btn-dot .tn-atom:hover::before { height: 100%; }
.btn-dot .tn-atom__button-border {
  position: absolute !important; display: block !important;
  top: 2px; left: 2px; right: 2px; bottom: 2px;
  width: auto !important; height: auto !important;
  border: 1px dotted rgba(255, 255, 255, 0.6) !important;
  border-radius: 0 !important; background: none !important;
  pointer-events: none; z-index: 2; transition: border-color 0.4s ease;
}
.btn-dot .tn-atom:hover .tn-atom__button-border { border-color: rgba(26, 26, 26, 0.6) !important; }
.btn-dot .tn-atom__button-content { position: relative; z-index: 1; }
.btn-dot .tn-atom__button-text { transition: color 0.4s ease !important; }
.btn-dot .tn-atom:hover .tn-atom__button-text { color: #1a1a1a !important; }

/* =============================================================
   3. КАРТОЧКИ МАГАЗИНА (только в uc-shop-desktop)
============================================================= */
.uc-shop-desktop .uc-card-shop__imgs { overflow: hidden !important; }
.uc-shop-desktop .uc-card-shop__imgs .tn-elem { transition: transform 0.5s ease !important; }
.uc-shop-desktop .uc-card-shop:hover .uc-card-shop__imgs .tn-elem { transform: translateX(-100%) !important; }

/* Заменяем padding на transform */
.uc-shop-desktop .uc-card-shop__text > .tn-molecule { transition: transform 0.4s ease !important; }
.uc-shop-desktop .uc-card-shop__text,
.uc-shop-desktop .uc-card-shop__text .tn-atom { transition: background-color 0.4s ease, color 0.4s ease !important; }
.uc-shop-desktop .uc-card-shop:hover .uc-card-shop__text { background-color: #0D0D0E !important; }
.uc-shop-desktop .uc-card-shop:hover .uc-card-shop__text > .tn-molecule { transform: translateX(12px) !important; }
.uc-shop-desktop .uc-card-shop:hover .uc-card-shop__text .tn-atom { color: #FFFFFF !important; }

/* =============================================================
   4. КАСТОМНЫЙ КУРСОР-КНОПКА
============================================================= */
.uc-cursor-btn {
  position: fixed; top: 0; left: 0; z-index: 99999;
  width: 96px; height: 96px; border-radius: 50%;
  background-color: #0D0D0E;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.uc-cursor-btn.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.uc-cursor-btn__text {
  color: #ffffff; font-size: 12px;
  font-family: 'Mulish', Arial, sans-serif;
  line-height: 1.4; font-weight: 500; text-transform: uppercase;
}
.uc-card-shop:hover { cursor: none; }
.uc-card-shop:hover * { cursor: none !important; }

/* =============================================================
   5. ФОНОВЫЕ ПАТТЕРНЫ
============================================================= */
.head-section-3 > .t-bgimg { background-repeat: repeat !important; background-size: 64px !important; }
.uc-moustache > .t-bgimg { background-repeat: repeat !important; background-size: 32px !important; }
.uc-bgpattern .t396__carrier.t-bgimg {
  background-repeat: repeat !important; background-size: 16px !important;
  background-attachment: scroll !important;
}

/* =============================================================
   6. HOVER-КАРТОЧКИ (uc-hcard / uc-triger)
============================================================= */
[class*="uc-hcard-"] {
  opacity: 0 !important; visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  pointer-events: none !important;
}
[class*="uc-hcard-"].uc-hcard-visible {
  opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
}
[class*="uc-triger-"] { cursor: pointer; }

/* =============================================================
   7. ФОНОВОЕ ВИДЕО
============================================================= */
.video-bg-wrapper {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; z-index: 0; pointer-events: none;
}
.video-bg-video {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-width: 177.78vh; min-height: 100vh;
  transform: translate(-50%, -50%); object-fit: cover; border: 0;
}
.video-bg-poster {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1;
}



/* =============================================================
   КАРТОЧКА КАТЕГОРИИ 2 — анимация текста только на десктопе >1199px
============================================================= */
@media (min-width: 1200px) {

  /* --- Затемнение фона --- */
  .uc-card-category-2 .t-bgimg { position: relative; }
  .uc-card-category-2 .t-bgimg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
  }
  .uc-card-category-2:hover .t-bgimg::after { opacity: 0.4; }

  /* --- ТОЛЬКО прямая молекула контента → flex-колонка + анимация зазора --- */
  .uc-card-category-2__content > .tn-molecule {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    row-gap: 0px !important;
    transition: row-gap 0.4s ease !important;
    z-index: 2;
  }
  .uc-card-category-2:hover .uc-card-category-2__content > .tn-molecule {
    row-gap: 6px !important;
  }

  /* --- Обёртка текста: раскрывается --- */
  .uc-card-category-2__text-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
  }
  .uc-card-category-2:hover .uc-card-category-2__text-wrapper {
    max-height: 160px !important;
  }

  /* --- Описание: проявление --- */
  .uc-card-category-2__text {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
  }
  .uc-card-category-2:hover .uc-card-category-2__text {
    opacity: 1 !important;
  }

}


.t-store__prod-snippet__container .js-store-prod-price {
    font-size: 32px !important;
    color: #B99954 !important;
}

.t-store__prod-snippet__container .js-store-prod-name {
    font-family: 'TTRamillas' !important;
    text-transform: uppercase;
    font-size: 64px !important;
}

.t-store__prod-snippet__container .span.js-product-brand {
    color: #B99954 !important;
    font-size: 16px !important;
}

@media screen and (max-width: 640px) {
    .t-store__prod-snippet__container .js-store-prod-name {
        font-size: 32px !important;
    }
}