/*@font-face {*/
/*  font-family: 'Lato-Regular';*/
/*  src: url(/font/Lato-Regular.ttf)*/
/*}*/
/*@font-face {*/
/*  font-family: 'Lato-Bold';*/
/*  src: url(/font/Lato-ExtraBold.ttf)*/
/*}*/
/*@font-face {*/
/*  font-family: 'Lato-lite';*/
/*  src: url(/font/Lato-Light.ttf)*/
/*}*/
@font-face {
  font-family: 'OpenSans';
  src: url(/font/OpenSans.ttf)
}
@font-face {
  font-family: 'Stetica-Light';
  src: url(/font/AA-Stetica-Light.otf)
}
@font-face {
  font-family: 'Stetica-Regular';
  src: url(/font/AA-Stetica-Regular.otf)
}

@font-face {
  font-family: 'heebo';
  src: url(/font/heebocyrillic.ttf)
}
@font-face {
  font-family: 'Cormoli';
  src: url(/font/CormorantGaramond-Light.ttf)
}
@font-face {
  font-family: 'Cormo';
  src: url(/font/CormorantGaramond-Regular.ttf)
}
@font-face {
  font-family: 'Cormobold';
  src: url(/font/CormorantGaramond-Bold.ttf)
}
@font-face {
  font-family: 'Inter2';
  src: url(/font/Inter-Light.otf)
}
@font-face {
  font-family: 'AAStatica';
  src: url(/font/AA-Stetica-Light.otf)
}
@font-face {
  font-family: 'Monserat';
  src: url(/font/MontserratAlternates.ttf)
}
@font-face {
  font-family: 'AmadeusAP';
  src: url(/font/AmadeusAP.ttf)
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
}

.box_main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vw;

}
/*

.dveri {
  width: 70vw;
  padding-block: 16px 32px;
  margin: 16px 32px;
  overflow-x: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  scroll-snap-type: x mandatory;
}
.dveri::-webkit-scrollbar {
  height: 10px;
}
.dveri::-webkit-scrollbar-thumb {
  background: #000000;
  width: 100px;
}
.dveri::-webkit-scrollbar-track {
  background: #c7c7c7;
}
.dveri::-webkit-scrollbar-track-piece:start {
  background: #c7c7c7;
}

.slide {
  flex: 1 0 30%;
  aspect-ratio: 1;
  flex-flow: column nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  scroll-snap-align: center;
}
*/
@media (max-width: 600px) {
  .carousel-slide {
    flex: 1 0 90%;
  }
}



.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  /* фоновый цвет */
  background: #e0e0e0;
  z-index: 1001;
}

.preloader__image {
  position: relative;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  text-align: center;
  animation: preloader-rotate 2s infinite linear;
}


@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}

.loaded_hiding .preloader {
  transition: 0.3s opacity;
  opacity: 0;
}

.loaded .preloader {
  display: none;
}


div.h_h  .h_head {

  color: #ffffffb3;
  font-size: 50px;
  position: relative;
  animation-delay: 1s; /* Задержка перед началом анимации */
  animation: showLeft 1s;
  z-index: 1;
  text-align: center;
  opacity: 1;

}

div.h_h  .h_head_text{

  color: #ffffffb3;

  font-size: 1.5em;

  /*font-weight: 700;*/

  /*margin-bottom: 30px;*/

  position: relative;
  animation-delay: 1s;
  animation: showRight 1s 1s forwards;

  z-index: 2;
  opacity: 0;


}

div.h_h  .h_head_text_kol{

  color: #ffffffb3;

  font-size: 7vw;

  /*font-weight: 700;*/

  /*margin-bottom: 30px;*/

  position: relative;

  z-index: 2;
  margin-left: 8%;
  line-height: normal;
  font-family: 'Montserrat', sans-serif;


}

a.button_img_temp{
  position: relative;
  animation-delay: 1s;
  animation: showRight 1s 2s forwards;
  font-size: 1em;
  border-radius: 5px;

  z-index: 3;
  opacity: 0;}

@keyframes showLeft {

  from {bottom:-10%;}

  to {bottom:0;
    opacity: 1;}


}

@keyframes showRight {

  from {bottom:-10%;}

  to {bottom:0;
    opacity: 1;}

}

.f1{

  padding: 2px; /* толщина рамки */
  background: linear-gradient(180deg, rgba(196, 196, 196, 0.83), rgba(199, 199, 199, 0)); /* градиент */
  border-radius: 15px; /* если нужно скругление */
  box-sizing: border-box;
}
.f2{  background: #fff; /* фон внутри */
  border-radius: 13px; /* чуть меньше, чтобы не вылазил */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;}

.h_h {
  width: 100%;
  position: absolute;
  top: 0vh;
  height: inherit;
  left: 0vh;
  background: linear-gradient(to bottom, rgb(0 0 0 / 39%) 0%, rgb(0 0 0 / 9%) 30%, rgb(255 255 255 / 0%) 100%);}

.h_hea {
  width: 90%;
  margin-top: 18vh;
  bottom: 70px;
  color: #7BAB21FF;
  margin-left: 10vw;
  text-transform: uppercase;
  font-size: 0.8vw;
  font-weight: 900;
}


.model-title{font-weight: 700}

.h_head{
  /*margin-left: 10vw;*/
  height: 50px;
  color: white;
  /*margin-bottom: .5rem;*/
  margin-top: 41vh;
  font-family: inherit;
  line-height: 1.2;
  font-size: 3.0vw;
  font-family: "Cormo", sans-serif;
  font-weight: bold;
  /*text-transform: uppercase;*/
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
  text-align: center;
}
.h_head_kol{
  margin-left: 10vw;
height: 50px;
  color: white;
  /* margin-bottom: .5rem; */
  margin-top: 43vh;
  font-family: inherit;
  line-height: 1.2;
  font-size: 3.0vw;
  font-family: "AAStatica", sans-serif;
  /*font-weight: bold;*/
  /* text-transform: uppercase; */
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
  text-align: left;
  margin-left: 8%;
}
h_head_text
.about_col {
  width: 50%;
}
.button_img_temp{
  padding: .4em 1.2em .4em 1.2em;
  background-color: rgba(239, 239, 239, 0.9);
}

.h_head_btn {
  text-align: center;
  padding-top: 20vh;
}
.model-one-centre{text-align: center;
  padding-left: 1.6vw;
}
.materials-btn {
  width: 252px;
  height: 61px;
  background: #A0896F;
 /* Можно изменить на нужный цвет */
  color: #fff;
  font-family: "Inter2", sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s ease;
  position: absolute;
  top: 444px;
  /*left: 649px;*/
  padding: 12px 18px;
  gap: 10px;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.narrow-card {
  width: 8vw !important;
  height: 10vw !important;
}
.features-all-container
{
  width: 95%;
  /* margin: 12px auto; */
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 18px;
  background: #fff;
  position: sticky;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  margin-top: 4rem;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

.characteristics-container {
  /*display: none; !* Скрываем по умолчанию *!*/
}
#prod_desc {
  display: none; /* Скрываем по умолчанию */
}

#prod_desc:not(:empty) {
  display: block; /* Показываем, если есть содержимое */
}

.char-group {
  margin-bottom: 15px;
}

.char-group h4 {
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.char-btn {
  padding: 8px 15px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.char-btn:hover {
  background: #e9ecef;
}

.char-btn.active {
  background: #a5a2a4;
  color: white;
  border-color: #a5a2a4;
}

.category_desc_right {
  left: 50%;
  width: 50%;
  color: white;
  margin-top: -5vh;
  padding-left: 15px;
  padding-right: 15px;}

.category_desc_left {
margin-left: 10vw;
}

.category_desc{
  font-family: AA Stetica;
  font-weight: 700;
}

.category_desc_full{
  /*left: 50%;*/
  width: 50%;
  /*color: white;*/
  font-size: 0.8rem;

}

.head2{
  /*position: absolute;*/
  display: flex;
  z-index: 10;
  height: 36px;

/*  position: absolute;*/
/*  display: flex*/
/*;*/
/*  z-index: 10;*/
/*  background: linear-gradient(to top bottom, red, blue);*/
/*  background: linear-gradient(to top bottom, red, blue);*/
/*  background: linear-gradient(to bottom, #2a2a2a, #00000000);*/
}

.li-stroka {
  display: inline;
  /*padding-right: 30px;*/
  color: rgba(255, 255, 255, 0.9);
  /*vertical-align: -webkit-baseline-middle;*/

}

.menu-section{
  padding: 15px;
  flex: 1;
  padding-left: 80px;
  /* min-width: 200px; */
  /* background-color: #f9f9f9; */
  margin-top: 0;
  /* color: #555; */
  /* border-bottom: 1px solid #ddd; */

}

.city-columns{
  justify-content: flex-start;
  align-items: baseline;
  white-space: nowrap;
  padding-top: 1rem;
  padding-bottom: 2rem;
  line-height: 1.2;
}


.class_nav {
  opacity: 1;
  color: #000000;
  /*background: rgba(15, 15, 15, 0.48);*/
  top: 42px !important;
}
.class_nav2 {
  position: sticky !important;;
  top: 42px !important;
}
.about__col--img {
  background-size: 100%;
  background-position: center;
  box-shadow: 3px 4px 10px 0px rgba(151, 158, 177, 0.2);
  height: 25.2604166667vw;
  display: block;
  width: 50%;
}
.about__subtitle{
  width: 100%;
}
/* =============== ОСНОВНЫЕ СТИЛИ ДЛЯ ПОПАПОВ =============== */

/* Overlay (фон затемнения) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Контейнер попапа (выезжает справа) */
.popup {
  position: fixed;
  top: 0;
  right: -400px; /* изначально скрыт */
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease;
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.popup.open {
  right: 0; /* выезжает на экран */
}

/* Шапка попапа */
.popup-header {
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
  background: #f1f1f1;
  color: #000;
}

/* Контент попапа */
.popup-content {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
  .popup {
    width: 100vw;
  }
}

 .color_prod {
   width: 30px;
   height: 30px;
   border-radius: 50%;
   cursor: pointer;
   border: 1px solid #ddd;
   transition: transform 0.4s;
 }
.color_prod:hover {
  transform: scale(1.19);
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}


.kolektion{
  width: 100%;
  text-transform: uppercase;
  font-size: 2rem;
}
.name_kolekt{
  font-size: 2rem;
  text-transform: none;
  text-align: left;
}

.desc_kolekt{
  font-size: 1rem;
  text-transform: none;
  max-width: 19vw;
  text-align: center;
  font-family: AAStatica;
}

.model-main{
 width: 95vw;
  display: flex;
}
.model-one{
  width: 45vw;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  position: sticky;
  height: 100%;
  top: 10px;
  left: 6vw;
}
.model-all-main{
  width: 60vw;
}
.aboutwrap
{ display: flex;}

.jumbotron {
  margin-bottom: 0;
  padding: 3em;
  background-color: white;
  background-attachment: fixed;
  min-height: 40px;
}

.jumbotron h1 {
  font-size: 3.25rem;
}

.sticky-main {
  display: none;

}

.navbar {
  margin-bottom: 0;
  border-radius: 0;
  transition: all 0.4s linear;
  top:0px;
}

.navbar.sticky {
  opacity: 1;
  box-shadow: 0 2px 5px 0px rgba(0, 0, 0, .2);
  position: sticky;
  /*width: 100vw;*/
  transition: 0.23s cubic-bezier(0, 0.55, 0.71, 0.33);
  background-color: #ffffffad;
  padding-right: 3rem;
  padding-left: 3rem;
  top: 0px;
  z-index: 5000;
  backdrop-filter: blur(50px);
  background-color: #ffffffab !important;
}
#mainNavbar {
  background-color: transparent;
  transition: all 1.8s ease;
}

#mainNavbar.scrolled {
  background-color: #222; /* Ваш цвет фона */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar.sticky:hover {
  opacity: 1;
}

.carousel {
  margin-bottom: 5px;
}

.panel-image {
  width: 100%;
}

.wrapper {
  /*display: flex;*/
}

.container {
  margin-top: 20px;
}

.dropdown-menu {
  margin-top: 8px;
  max-height: 400px;
  overflow-y: scroll;
}

.dropdown-item:hover{
  background-color: rgb(184, 184, 184);
}

.main-page {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.main-content {
  /*margin-bottom: 100px;*/
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.cities span {
  padding: 5px 10px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.footer {
  /*background-color: rgb(184, 184, 184);*/
  padding: 5px;
  /*font-size: 15px;*/
  /*position: absolute;*/
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 80px;
}

.footer-social{
  font-size: 2.4rem;
}

.footer-social-icon {
  color: #202020;
  transition: 0.1s ease-in-out;
}

.footer-social-icon:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.add-btn{
  margin: 1.5rem 1rem 1.5rem 1rem;
}

.page-title {
  margin-bottom: 2rem;
}

.table th {
  text-align: center;
}

.admin-table td {
  vertical-align: middle;
}

.admin-panel-table-icon {
  transition: opacity .15s ease-in-out;
  color: #212529;
}

.admin-panel-table-icon:hover {
  cursor: pointer;
  opacity: 0.5;
}

.nav-item{
  text-align: center;
}
.nav-item-one{
  text-align: center;
  padding-right: 10px;

}

.features-flex{display: flex;
  gap: 1vw;}

.nav-link:hover  {
  color: rgba(33, 32, 32, 0.87) !important;
}

.dropdown-item{
  text-align: center;
}


.custom-file{
  margin-bottom: 1rem;
}

.custom-file-input ~ .custom-file-label::after {
  content: "Обзор...";
}

.link-disabled {
  cursor: not-allowed !important;
  opacity: 0.5;
}

.link-disabled > a {
  display: inline-block;
  pointer-events: none;
}

.layer {position: absolute}

.card-product{
  overflow: hidden;
  height: 100%;
  margin-bottom: 1.5rem;
}

.card-product:hover {
  cursor: pointer;
}

.card-img-overlay{
  background-color: rgba(54, 54, 54, 0.7);
}

.card-product:hover .card-img-overlay{

  background-color: rgba(54, 54, 54, 0.9);
}

.card-img-top{

  max-width: 100%;
}

.card-title {
  white-space: nowrap;
  color: rgba(30, 30, 30, 0.95);
}

.card-product:hover .card-img-top{
}

@media (max-width: 768px) {
  .card-img-overlay{
    -webkit-transform: translateY(80%);
    -ms-transform: translateY(80%);
    transform: translateY(80%);
  }
}

.section-header{
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.category-card {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  /*transition: transform 1s ease;*/
  margin-bottom: 1.5rem;
  background-position: 50% 50%;
  opacity: 1;
  border: 1px solid #e0e0e0;
  /*border-radius: 8px;*/
}

.category-card-title {
  font-weight: 600;
  transition: transform .3s ease-in-out;
}

.category-card:hover {
  /*top: 5px;*/
  position: sticky;
}

.category-card:hover .category-card-title{
  /*-webkit-transform: scale(1.2);*/
  /*-ms-transform: scale(1.2);*/
  /*transform: scale(1.2);*/
}

.card_name {
  background: rgb(220 218 218 / 26%);
  padding: 20px;
  margin-top: 3vh;
  width: 28vw;
  /*height: 150px;*/
  border-radius: 10px;
  box-shadow: 1px 2px 2px 1px rgb(0 0 0 / 8%);

}



.filters-form-wrapper {
  padding: 1.5rem;
}

.filters-select {
  margin-left: 0.5rem;
}

.btn-outline-white {
  color: #f5f5f5;
  background-color: transparent;
  background-image: none;
  border-color: #f5f5f5;
}

.btn-outline-white:hover {
  color: #0f0f0f;
  background-color: #f5f5f5;
  border-color: #f5f5f5;
}

.btn-outline-white.focus, .btn-outline-white:focus{
  box-shadow: 0 0 0 .2rem rgba(255, 255, 255, 0.5);
}

.slide-cfg-wrapper {
  background-color: #e7e7e7;
  border-radius: 15px;
  padding: 1rem 4rem 0.5rem 4rem;
  margin-bottom: 1.25rem;
}

.img-slide-cfg{
  max-height: 55vh;
  border-radius: 30px;
}

.custom-file-label{
  overflow: hidden;
}

.alert-icon{
  font-size: 2.5rem;
  margin-right: 1rem;
  display: flex;
}

.alert-icon-danger{
  color: #dc3545;
  display: none;
}

.alert-icon-success{
  color: #28a745;
  display: none;
}

@media (max-width: 767px) {
  .form-inline {
    display: inline-block;
  }
  .filters-row {
    justify-content: center;
  }
}


/* ---------------------------------------------------
              SIDEBAR
----------------------------------------------------- */

#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: #16191b;
  color: #fff;
  transition: all 0.3s;
  display: block;
  height: 100vh;
  z-index: 100;
  position: sticky;
  top: 0;

}

#sidebar.active {
  min-width: 95px;
  max-width: 95px;
  text-align: center;

}

.sidebar-header > h3 {
  display: block;

}

#sidebar.active .sidebar-header h3 {
  display: none;
}

#sidebar.active .sidebar-header strong {
  display: block;
}

#sidebar ul li a {
  text-align: left;
}

#sidebar.active ul li a {
  padding: 20px 10px;
  text-align: center;
  font-size: 0.85em;
}

#sidebar.active ul li a i {
  margin-right: 0;
  display: block;
  font-size: 1.8em;
  margin-bottom: 5px;
}

#sidebar.active ul ul a {
  padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
  top: auto;
  bottom: 10px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
}

#sidebar .sidebar-header {
  padding: 20px;
  background: #16191b;
}

#sidebar .sidebar-header strong {
  display: none;
  font-size: 1.8em;
}

#sidebar ul.components {
  padding: 20px 0;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
  color: white;
}

#sidebar ul li a:hover {
  color: #007bff;
  background: #252525fd;
}

#sidebar ul li.active > a, a[aria-expanded="true"]{
  /* background-color: #726868fd; */
}

#sidebar ul li a i {
  margin-right: 10px;
}

#sidebar ul li.active>a {
  color: #fff;
  background: #007bff;
}

a[data-toggle="collapse"] {
  position: relative;
}

#sidebar>.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

a:hover {
  color: inherit;
  text-decoration: none;
  transition: all 0.4s;
}

.sidebar-button {
  position: absolute;
  left: 5%;
  top: 1%;
  text-align: center;
}

.sidebar-button-inisde {
  border-radius: 0%;
  width: 100%;
}

.sidebar-button-inisde:focus{
  box-shadow: none;
}

#sidebar.active .fa-angle-double-left {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  transition: transform .3s linear;
}

#sidebar .fa-angle-double-left {
  transition: transform .3s linear;
}

.home-submenu li a{
  font-size: 1rem !important;
  padding-left: 2rem !important;
}

.home-submenu{
  background-color: #202427;
}

#sidebar.active .home-submenu a{
  padding-left: 0;
}



/* ---------------------------------------------------
          MEDIA QUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
  #sidebar {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    margin-left: -80px !important;
  }

  .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
  }

  #sidebar.active {
    margin-left: 0 !important;
  }


#sidebar.active .components{
  display: block;
}

  #sidebar.active .sidebar-header h3 {
    display: none;
  }

  #sidebar .sidebar-header h3 {
    display: none;
  }

  #sidebar .sidebar-header strong {
    display: block;
  }

  #sidebar ul li a {
    padding: 20px 10px;
  }

  #sidebar ul li a span {
    font-size: 0.85em;
  }

  #sidebar ul li a i {
    margin-right: 0;
    display: block;
  }

  #sidebar ul ul a {
    padding: 10px !important;
  }

  #sidebar ul li a  {
    font-size: 0.85em;
    overflow: hidden;
  }

  #sidebar {
    margin-left: 0;
  }

  .sidebar-button-inisde {
    display: none;
  }

  #sidebarCollapse.active {
    right: 45%;
  }

  #sidebarCollapse.active span {
    display: none;
  }

  #sidebarCollapse.active .fa-angle-double-right {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    transition: transform .3s linear;
  }

  .fa-angle-double-right {
    transition: transform .3s linear;
  }
}

@media (min-width: 768px) {
  .sidebar-button {
    display: none;
  }

}

/* === ОСНОВНЫЕ СТИЛИ КАРУСЕЛИ === */

/* Стили для мобильной карусели */
.carousel-mobile {
  display: none;
}

.grid-desktop {
  display: block;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
  .carousel-mobile {
    display: block;
    padding: 20px 15px;
  }

  .grid-desktop {
    display: none;
  }

  .subcategory-title, .main-categories-title {
    text-align: left !important;
    margin: 25px 0 20px 0 !important;
    font-size: 1.4rem;
    color: #333;
  }
}

/* === СТИЛИ КОНТЕЙНЕРОВ КАРУСЕЛИ === */

/* Альтернативное позиционирование ползунка */
.carousel-with-progress {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 30px; /* Добавляем отступ для ползунка */
}

.swiper.collection-carousel {
  margin-bottom: 0;
  width: 100%;
}

/* === СТИЛИ СЛАЙДОВ === */

.swiper-wrapper {
  transition-timing-function: ease-out;
}

.swiper-slide {
  padding: 0 10px;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Стили для элементов коллекции */
.kolektion.slide {
  background-size: cover;
  background-position: center;
  height: 520px;
  border-radius: 8px;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  width: 100%;
}

.kolektion.slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Стили для ссылок категорий */
.category-block {
  text-decoration: none;
  color: inherit;
  display: block;
  outline: none;
}

.category-block:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}

.category-block:focus {
  outline: 2px solid #888888;
  outline-offset: 2px;
}

/* Стили для заголовков коллекций */
.kolektion.slide + h2 {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #858590;
}

.kolektion.slide + h2 + h6 {
  text-align: center;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* === СТИЛИ ПОЛЗУНКА (ПРОГРЕСС-БАР) === */
.swiper-pagination-progressbar {
  position: absolute !important;
  bottom: 0 !important;
  top: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 80% !important;
  height: 4px !important;
  background: #e0e0e0 !important;
  border-radius: 2px !important;
  max-width: 300px !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #9a9a9a;
  border-radius: 2px;
  height: 100%;
  transition: transform 0.3s ease;
  transform-origin: left center;
}

/* === АНИМАЦИИ И ЭФФЕКТЫ === */

/* Анимация при переключении слайдов */
.swiper-slide-active {
  opacity: 1;
}

.swiper-slide-next,
.swiper-slide-prev {
  opacity: 0.9;
}

/* === СТИЛИ ДЛЯ ДЕСКТОПНОЙ ВЕРСИИ === */

@media (min-width: 769px) {
  .subcategory-group-line {
    /* ваши стили для линии группы */
  }

  .subcategory-title {
    text-align: left;
    margin: 30px 0;
    padding-left: 20px;
  }

  .main-categories-group {
    /* ваши стили для группы основных категорий */
  }

  #box_main {
    /* ваши стили для основного контейнера */
  }

  /* Стили для десктопной сетки */
  .kolektion.slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .name_kolekt {
    font-weight: bold;
    margin-bottom: 10px;
  }

  .desc_kolekt {
    margin-bottom: 15px;
    color: #666;
  }
}

/* === АДАПТИВНЫЕ СТИЛИ === */

@media (max-width: 480px) {
  .kolektion.slide {
    height: 400px;
  }

  .subcategory-title, .main-categories-title {
    font-size: 1.8rem;
    margin: 20px 0 15px 0 !important;
  }

  .swiper-pagination-progressbar {
    width: 90%;
    max-width: 250px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .kolektion.slide {
    height: 450px;
  }
}

/* === ДОПОЛНИТЕЛЬНЫЕ СТИЛИ === */

/* Стили при наведении */
.swiper-slide:hover .kolektion.slide {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Плавные переходы */
* {
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}