:root,
[data-bs-theme="light"] {
  --bs-primary: #7531c6;
  --bs-link-color: #d13f9c;
  --bs-link-color-rgb: 209, 63, 156
  --bs-link-hover-color: #574fec;
  --bs-link-hover-color-rgb: 87, 79, 236;
  --swiper-theme-color: #7531c6!important;
}

.bg-orange	{--bs-bg-opacity: 1; background-color: #fd7e14;}
.bg-red		{--bs-bg-opacity: 1; background-color: #b60026;}
.bg-blue	{--bs-bg-opacity: 1; background-color: #1a3383;}
.bg-vip		{--bs-bg-opacity: 1; background-color: #e69215;}
.bg-grey 	{--bs-bg-opacity: 1; background-color: #c5caca;}
.bg-blue-soft	{--bs-bg-opacity: 1; background-color: #3aa7ff;}
.bg-green-soft	{--bs-bg-opacity: 1; background-color: #90EE90;}
.bg-yellow-soft	{--bs-bg-opacity: 1; background-color: #f2e42a;}
.bg-red-soft	{--bs-bg-opacity: 1; background-color: #e23644;}

@keyframes textGradientAnimation {
    0% {background-position: 50% 30%;}
    25% {background-position: 100% 10%;}
    50% {background-position: 100% 90%;}
    75% {background-position: 60% 90%;}
    100% {background-position: 50% 30%;}
}
.text-gradient {
    background: radial-gradient(circle at 70%, #d419ae 10%, #773acb 30%);
    background-size: 400% 400%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    animation: textGradientAnimation 5s ease-in-out infinite;
    -webkit-animation: textGradientAnimation 5s ease-in-out infinite;
}

.w-5  {width: 5% !important;}
.w-10 {width: 10% !important;}
.w-15 {width: 15% !important;}
.w-20 {width: 20% !important;}
.w-35 {width: 35% !important;}
.w-40 {width: 40% !important;}

.navbar {
  --bs-navbar-brand-padding-y: 0;
  --bs-navbar-brand-margin-end: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-padding-y: 0;
  --bs-navbar-brand-margin-end: 1rem;
}

.navbar-brand {
  padding-top: var(--bs-navbar-brand-padding-y);
  padding-bottom: var(--bs-navbar-brand-padding-y);
  margin-right: var(--bs-navbar-brand-margin-end);
  font-size: var(--bs-navbar-brand-font-size);
  color: var(--bs-navbar-brand-color);
  white-space: nowrap; 
}
  .navbar-brand:hover, .navbar-brand:focus {
    color: var(--bs-navbar-brand-hover-color); 
}

.navbar-dark,
.navbar[data-bs-theme="dark"] {
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: #fff;
}

  /* logo / .navbar-brand */
  .navbar-xs > .navbar-brand {
    min-height: 80px;
    line-height: 80px; 
}
  .navbar-xs > .navbar-brand > img {
    max-height: 70px !important; 
    max-width: 80px !important; 
}
  .navbar-xs > .navbar-brand {
    position: absolute;
    top: 0.6rem;
    margin: 2px 15px; 
}
  /* styling main links */
  .navbar-nav .nav-item.dropdown > .nav-link {
    font-weight: 500;
    font-size: 18px; 
}

  /* links with dropdown only */
  .navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle {
    color: #45499f; 
}


.navbar-brand > img:last-child {
  display: none; 
}

.navbar-brand > img:first-child {
  display: inherit; 
}

.navbar-brand > img {
  position: absolute;
  top: -0.4rem;
  max-width: 110px;
  max-height: 102px; 
}

body:not(.user-scrolled-down) .navbar-brand > img:first-child {
  display: none; 
}

body:not(.user-scrolled-down) .navbar-brand > img:last-child {
  display: inline-block; 
}

body:not(.layout-admin) .navbar-brand {
    margin-right: 120px; }



/**

	DEFAULT BOOTSTRAP NAVIGATION

**/
/*:not(nav.navbar-dark) a.nav-link:not(.active):not(:hover) {*/
nav.navbar-light a.nav-link:not(.active):not(:hover) {
  color: #c3008b; 
}

.navbar-nav .nav-item {
  font-weight: 500;
  font-size: 17px; 
}

.navbar-nav .nav-item:hover > .nav-link,
.navbar-nav .nav-link[aria-expanded="true"] {
  font-weight: 600;
  font-size: 17.5px; 
  color: #fb183d !important; 
  transition: font-size .9s ease; 
}

.bg-gradient-default {
  background: linear-gradient(180deg, #313131 0, #7d7d7d); 
}

@media only screen and (min-width: 992px) {
  body.layout-admin #middle.mx-auto {
    max-width: 1655px !important; }
  /* logo width on aside-focus */
}

.table-group-divider {
  border-top: calc(1px * 2) solid #c1c4c8; }


.btn-hover-text {
    position: relative;
}
.btn-hover-text .btn-hover-label.label-default {
    display: block;
    transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1), opacity 0.5s cubic-bezier(0.5, 0, 0, 1);
    transition-delay: 0.1s;
}
.btn-hover-text .btn-hover-label.label-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(1vw);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1), opacity 0.5s cubic-bezier(0.5, 0, 0, 1);
    transition-delay: 0s;
}
.btn-hover-text:hover .btn-hover-label.label-default {
    transform: translateY(-1vw);
    opacity: 0;
    transition-delay: 0s;
}
.btn-hover-text:hover .btn-hover-label.label-hover {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.swiper-pagination-bullet-active-2 {
  background: #00ff00 !important;
  color: #ff00ff !important;
}

/* Тултип кастомный*/
.custom-tooltip .tooltip-inner {
  background-color: #8a4c9d;
  color: #fff;
  font-weight: normal;
  padding: 8px;
  border-radius: 8px;
}

.custom-tooltip.bs-tooltip-end .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
  border-right-color: #efefef;  /* Стрелочка справа */
}

.shape-v:before {
  left: 0;
  width: 20%;
  transform-origin: 100% 0;
  transform: scaleX(2) scaleY(5) rotate(6deg); }

.shape-v:after {
  right: 0;
  width: 60%;
  transform-origin: 0 0;
  transform: scaleX(2) scaleY(5) rotate(-8deg); }


/* Свечение изображения */
.logo-glowing {
  width: 110px; /* Подстройте под ваш логотип */
  height: auto;
  animation: smooth-running-glow 4s linear infinite;
}

@keyframes smooth-running-glow {
  0%, 100% {
    filter: 
      drop-shadow(0 0 4px rgba(255, 0, 0, 0.7))
      drop-shadow(0 0 8px rgba(255, 0, 0, 0.5))
      drop-shadow(0 0 12px rgba(255, 0, 0, 0.3));
  }
  25% {
    filter: 
      drop-shadow(2px -2px 4px rgba(0, 255, 255, 0.7))
      drop-shadow(4px -4px 8px rgba(0, 255, 255, 0.5))
      drop-shadow(6px -6px 12px rgba(0, 255, 255, 0.3));
  }
  50% {
    filter: 
      drop-shadow(0 2px 4px rgba(0, 255, 0, 0.7))
      drop-shadow(0 4px 8px rgba(0, 255, 0, 0.5))
      drop-shadow(0 6px 12px rgba(0, 255, 0, 0.3));
  }
  75% {
    filter: 
      drop-shadow(-2px 0 4px rgba(238, 130, 238, 0.7))
      drop-shadow(-4px 0 8px rgba(238, 130, 238, 0.5))
      drop-shadow(-6px 0 12px rgba(238, 130, 238, 0.3));
  }
}


/* Бегущее свечение по изображению */
.logo-rainbow-run {
  width: 120px; /* Подстройте размер */
  height: auto;
  animation: rainbow-run 3s linear infinite;
}

@keyframes rainbow-run {
  0% {
    filter: 
      drop-shadow(2px 0 4px hsl(0, 100%, 50%))
      drop-shadow(0 2px 6px hsl(60, 100%, 50%))
      drop-shadow(-2px 0 8px hsl(120, 100%, 50%));
  }
  33% {
    filter: 
      drop-shadow(0 2px 4px hsl(90, 100%, 50%))
      drop-shadow(-2px 0 6px hsl(180, 100%, 50%))
      drop-shadow(0 -2px 8px hsl(240, 100%, 50%));
  }
  66% {
    filter: 
      drop-shadow(-2px 0 4px hsl(270, 100%, 50%))
      drop-shadow(0 -2px 6px hsl(330, 100%, 50%))
      drop-shadow(2px 0 8px hsl(360, 100%, 50%));
  }
  100% {
    filter: 
      drop-shadow(2px 0 4px hsl(0, 100%, 50%))
      drop-shadow(0 2px 6px hsl(60, 100%, 50%))
      drop-shadow(-2px 0 8px hsl(120, 100%, 50%));
  }
}




/* Иконки соц. сетей */
.si {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    color: var(--bs-body-color);
}
.si > i {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
    line-height: 1;
}
.si > i:last-child {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}
.si:hover > i:first-child {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}
.si:hover > i:last-child {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.si.si-border {
    border: 1px solid var(--bs-border-color);
}
.si-list-inline li .si + .si {
    margin-left: 0.25rem;
}
.si-circle {
    border-radius: 100%;
}


.si-colored-vk {
    background-color: #0077b5 !important;
    border-color: #0077b5 !important;
    color: #fff !important;
}
.si-colored-vk:hover {
    background-color: #00537f !important;
    border-color: #00476d !important;
}
.si-hover-vk:hover {
    background-color: #00537f !important;
    border-color: #00537f !important;
    color: #fff !important;
}
.si-colored-rutube {
    background-color: #100943 !important;
    border-color: #100943 !important;
    color: #fff !important;
}
.si-colored-rutube:hover {
    background-color: #8410cb !important;
    border-color: #8410cb !important;
}
.si-hover-rutube:hover {
    background-color: #100943 !important;
    border-color: #100943 !important;
    color: #fff !important;
}
.si-colored-2gis {
    background-color: #19aa1d !important;
    border-color: #19aa1d !important;
    color: #fff !important;
}
.si-colored-2gis:hover {
    background-color: #0173fa !important;
    border-color: #0173fa !important;
}
.si-hover-2gis:hover {
    background-color: #19aa1d !important;
    border-color: #19aa1d !important;
    color: #fff !important;
}
.si-colored-yandex {
    background-color: #333552 !important;
    border-color: #333552 !important;
    color: #fff !important;
}
.si-colored-yandex:hover {
    background-color: #db2f43 !important;
    border-color: #db2f43 !important;
}
.si-hover-yandex:hover {
    background-color: #333552 !important;
    border-color: #333552 !important;
    color: #fff !important;
}
.si-colored-telegram {
    background-color: #29a9eb !important;
    border-color: #29a9eb !important;
    color: #fff !important;
}
.si-colored-telegram:hover {
    background-color: #2187bc !important;
    border-color: #2187bc !important;
}
.si-hover-telegram:hover {
    background-color: #29a9eb !important;
    border-color: #29a9eb !important;
    color: #fff !important;
}
.si-colored-instagram,
.si-colored-instagram:hover,
.si-hover-instagram:hover {
    background-image: radial-gradient(circle at 30% 107%, #fcaf45 0, #f77737 5%, #e1306c 45%, #833ab4 60%, #405de6 90%) !important;
    color: #ffffff !important;
    border-color: transparent;
}

/* Стили для круглой кнопки (остается на месте) */
.si-colored-wb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-image: linear-gradient(0deg, #CB11AB 0%, #990099 35%, #481173 100%);
    color: #ffffff;
    border-radius: 50%;
    border: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
    /* Фиксируем позицию */
    __vertical-align: middle;
    __margin: 0;
    __padding: 0;
}

.si-colored-max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-image: conic-gradient(
        from 90deg at 30% 70%,
        #8526D1 0deg,
        #00CCFF 84.6deg,
        #0026FF 180deg,
        #A500C6 340.069deg,
        #8526D1 360deg
    );
    color: #ffffff;
    border-radius: 50%;
    border: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.vk-icon {
    width: 21px;
    height: 21px;
    position: absolute;
    left: 9px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 10px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении */
.si-colored-vk:hover .vk-icon {
    animation: icon-pop 0.5s ease-out;
}

.rt-icon {
    width: 21px;
    height: 21px;
    position: absolute;
    left: 12px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 8px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении */
.si-colored-rutube:hover .rt-icon {
    animation: icon-pop 0.5s ease-out;
}
.ya-icon {
    width: 23px;
    height: 23px;
    position: absolute;
    left: 8px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 9px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}
/* Анимация при наведении */
.si-colored-yandex:hover .ya-icon {
    animation: icon-pop 0.5s ease-out;
}

.gs-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 8px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 9px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении */
.si-colored-2gis:hover .gs-icon {
    animation: icon-pop 0.5s ease-out;
}

/* Состояние при наведении */
.si-colored-wb:hover {
    background-image: linear-gradient(0deg, #ef2fce 0%, #b000b0 35%, #5d1694 100%);
}

/* Иконка - изначальное состояние */
.wb-icon {
    width: 27px;
    height: 27px;
    position: absolute;
    left: 6px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 6px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении для иконок соц. сетей*/
.si-colored-wb:hover .wb-icon {
    animation: icon-pop 0.5s ease-out;
}

.si-colored-mx:hover {
    background-image: linear-gradient(0deg, #ef2fce 0%, #b000b0 35%, #5d1694 100%);
}

.mx-icon {
    width: 23px;
    height: 23px;
    position: absolute;
    left: 9px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 9px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

.si-colored-max:hover .mx-icon {
    animation: icon-pop 0.5s ease-out;
}

@keyframes icon-pop {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    80% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.si-hover-ok:hover {
    background-color: #EE8208 !important;
    border-color: #EE8208 !important;
    color: #fff !important;
}
.si-hover-whatsapp:hover {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}
.si-colored-whatsapp {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}
.si-colored-whatsapp:hover {
    background-color: #1a9447 !important;
    border-color: #167f3d !important;
}
.si-hover-youtube:hover {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}
.si-hover-youtube:hover {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}
.si-colored-youtube {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}
.si-colored-youtube:hover {
    background-color: #b30000 !important;
    border-color: #900 !important;
}
.si-hover-rutube:hover {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}

/* Кастомная настройка высоты слайдера  */
.vh-my {height: 50vh}
@media (min-width: 576px)  {.vh-my {height: 33vh !important}}
@media (min-width: 768px)  {.vh-my {height: 45vh !important}}
@media (min-width: 992px)  {.vh-my {height: 55vh !important}}
@media (min-width: 1200px) {.vh-my {height: 60vh !important}}
@media (min-width: 1400px) {.vh-my {height: 72vh !important}}

/* Кастомная настройка размера шрифта и высоты формы количества товара  */
.smart-basket__quantity-item {
    font-size: 1.2rem;
}
.smart-basket__product-quantity-state,
.smart-basket__remove-item,
.smart-basket__add-item {
    height: 3.0rem;
}


/* 1. Базовые стили для всех табов */
#SostavTab.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    position: relative; /* Для корректного z-index */
}

/* 2. Неактивные табы */
#SostavTab .nav-link {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    margin-bottom: -1px; /* Важно для стыковки границ */
}

/* 3. Активный таб (главный фикс) */
#SostavTab .nav-link.active {
    background: white !important;
    border-color: #dee2e6 #dee2e6 white !important;
    position: relative;
    z-index: 2; /* Перекрывает нижнюю линию */
}

/* 4. Гарантированное перекрытие линии */
#SostavTab .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: white;
    z-index: 3;
}

/* Настройки таблицы для плавных переходов */
.table {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
/* Базовый стиль строк */
.table tbody tr {
  background-color: #fff;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
/* Стили для изображения внутри строки */
.clickable-row img {
    transition: all 0.3s ease;
}
/* Увеличение изображения при наведении на строку */
.clickable-row:hover img {
    transform: scale(1.05); /* Увеличение на 5% */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet {
  width: 16px !important;
  height: 16px !important;
}



/*

	Images Block

*/

.block-img-start .block-img,
.block-img-end .block-img {
  display: inline-block;
  position: relative;
  width: 75%;
  top: 0;
  left: 0; }

@media only screen and (min-width: 320px) {
  .block-img-start .block-img-2,
  .block-img-end .block-img-2 {
    margin-top: -400px; }
  .block-img-start .block-img-1 {
    top: -80px;
    left: -8%; }
  .block-img-start .block-img-2 {
    left: 30%; }
  .block-img-start .block-img-3 {
    margin-top: -300px;
    left: -8%; }

  .block-img-end .block-img-1 {
    top: -80px;
    right: -78%; }
  .block-img-end .block-img-2 {
    right: -10%; }
  .block-img-end .block-img-3 {
    margin-top: -300px;
    right: -78%; }
}


.grayscale figure {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grayscale:hover figure {
    filter: grayscale(0%);
}

/* ============================================
   Слайдер: изображения через <img> вместо background-image
   ============================================ */
/* Фоновое изображение слайда */
.swiper-slide .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Темный оверлей (.overlay-dark) — поверх картинки, но под текстом */
.swiper-slide.overlay-dark::before,
.swiper-slide.overlay-dark::after {
    z-index: 1 !important;
}