 .sidebar_filters {
   background: var(--white);
   max-width: 400px;
   padding: 24px;
   background-color: #fff;
 }

 .sidebar_header {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 32px;
   padding-bottom: 16px;
   background-color: #fff;

   svg {
     width: 40px;
     height: 40px;
   }

   h2 {
     font-size: 20px;
     font-weight: 700;
     color: var(--black);
     text-transform: uppercase;
   }
 }

 .accordion_item {
   border-bottom: 1px solid var(--grid-gray);

   &:last-child {
     border-bottom: none;
   }
 }

 .accordion_header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 16px 0;
   text-decoration: none;
   color: var(--black);
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   transition: color 0.2s ease;


   &:hover {
     color: var(--orange-accent);
   }

   >span {
     flex: 1;
   }

   .arrow {
     width: 20px;
     height: 20px;
     stroke: var(--black);
     transition: transform 0.3s ease;
     flex-shrink: 0;
     margin-left: 12px;
   }
 }

 .accordion_item.active .accordion_header .arrow {
   transform: rotate(180deg);
 }

 .accordion_content {
   overflow: hidden;
   height: 0;
   transition: height 0.3s ease-in-out;

   .category_list {
     list-style: none;
     padding-bottom: 16px;

     li {
       margin-bottom: 8px;

       a {
         display: block;
         padding: 8px 0;
         color: var(--black);
         text-decoration: none;
         font-size: 15px;
         transition: color 0.2s ease;
         border-left: 2px solid transparent;
         padding-left: 12px;

         &:hover {
           color: var(--orange-accent);
           border-left-color: var(--orange-accent);
         }

         &.active {
           color: var(--orange-accent);
           font-weight: 500;
         }
       }
     }

     /* Подкатегории третьего уровня */
     .subcategory {
       margin-left: 20px;
       margin-top: 8px;
       border-left: 1px solid var(--grid-gray);
       padding-left: 12px;

       li {
         a {
           font-size: 14px;
           color: var(--light-black);

           &:hover {
             color: var(--orange-accent);
           }
         }
       }
     }
   }

   .tags_section {
     padding-top: 16px;
     border-top: 1px solid var(--grid-gray);

     .tags_title {
       display: block;
       font-size: 14px;
       color: var(--gray);
       margin-bottom: 12px;
       font-weight: 500;
     }

     .tags_list {
       display: flex;
       flex-wrap: wrap;
       gap: 8px;

       .tag {
         display: inline-block;
         /* padding: 6px 12px; */
         /* background: var(--light-gray); */
         color: var(--black);
         text-decoration: none;
         font-size: 16px;
         /* border-radius: 4px; */
         transition: all 0.2s ease;
         /* border: 1px solid transparent; */

         &:hover {
           background: var(--white);
           border-color: var(--orange-accent);
           color: var(--orange-accent);
         }

         &::after {
           content: '/';
           margin-left: 6px;
           /* color: var(--gray); */
         }

         &:last-child::after {
           content: '';
         }
       }
     }
   }
 }

 .accordion_item.active .accordion_content {
   height: auto;
 }
 .product_country_title{
   font-weight: 700;
   font-size: 18px;
 }

 /* Скрываем контент по умолчанию */
 .amts_filter_group .amts_checkbox_list {
   /*display: none;*/
   overflow: hidden;
 }

 /* Заголовок-триггер */
 .amts_filter_title {
   display: flex;
   justify-content: space-between;
   align-items: center;
   cursor: pointer;
   margin: 0;
   padding: 10px 0;
   user-select: none;
   position: relative;
 }

 /* Контейнер для иконки */
 .amts_filter_title .amts_accordion_icon_wrap {
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.3s ease;
   line-height: 0;
   flex-shrink: 0;
 }

 /* Поворот иконки при открытии */
 .amts_filter_group.active .amts_filter_title .amts_accordion_icon_wrap {
   transform: rotate(180deg);
 }

 /* Опционально: плавность для контента */
 .amts_checkbox_list {
   transition: opacity 0.2s ease;
 }

 .amts_filter_group{
   border-bottom: 1px solid var(--grid-gray);
 }
 .amts_filter_group:last-child {
   border-bottom: none;
 }
 .amts_filter_group{
   padding: 0 10px;
   margin-bottom: 0;
 }
 .amts_checkbox_list{
   display: none;
 }
 .amts_filter_title {
   font-family: Roboto;
   font-size: 18px;
   font-weight: 700;
   color: var(--black);
   line-height: 1.3;
   /*margin-bottom: 20px;*/
 }
 .amts_filter_group.active .amts_filter_title {
   margin-bottom: 20px;
 }
 .amts_filter_group.active {
   padding: 10px 10px;
 }

 .amts_accordion_item.current-cat >.amts_accordion_leaf {
     color: var(--orange-accent);
 }
 .current-cat .header_depth_0 a{
     color: var(--orange-accent);
 }