

/* Start:/local/templates/.default/components/forumedia/catalog.teg/catalog/style.css?17848111705658*/
.all-tegs{
   margin-bottom: 40px;
}

a.link-top{
font-family: Qanelas, sans-serif;
font-weight: 300;
font-size: 18px;
line-height: 100%;
letter-spacing: 0%;
color: rgba(66, 68, 74, 1) !important;
padding: 5px 15px 7px;

text-decoration: none;
border-radius: 16px;
}

.teg-title{
font-family: Qanelas, sans-serif;
font-weight: 600;
font-size: 18px;
line-height: 100%;
letter-spacing: 0%;
margin-right: 20px;
margin-left: 0;
white-space: nowrap;
color: rgba(0, 0, 0, 1);
padding-top: 5px;
min-width: 202px;
}

 div.catalog-list-wrap .element-list-wrap div.element-sort-wrap{
    margin-bottom: 0;
}

.tegs {
    display: flex;
    width: 100%;
   /* padding: 0 125px 0 0;*/
    border-radius: 8px;
    overflow: hidden;
    /*height: 40px;*/
    padding-top: 10px;
}

.all-tegs div.tegs:nth-child(1){
   padding-top:30px;  
}

.all-tegs>div:last-of-type{
    padding-bottom:30px; 
}

.all-tegs .h2{
 font-family: Qanelas;
font-weight: 600;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
   color:black;
   margin-bottom: 15px;
}

.tegs.open {
    height: auto;
}

.item-teg {
    box-sizing: border-box;
    height: fit-content;
    border: 1px solid white;
    margin-right: 10px;
    margin-bottom: 10px;
}



.item-teg a.link-top {
   
    display: inline-block;
    white-space: nowrap;
}

.item-teg.active,.item-teg:hover  {
    
  background: rgba(211, 223, 247, 1);
    border: 1px solid rgba(163, 175, 197, 1);
}

.item-teg.active a.out-teg {
    position: relative;
}

.item-teg.active a.out-teg::before {
    content: "";
    display: block;
    height: 20px;
    width: 1px;
    background: white;
    position: absolute;
    left: 0;
}

.teg-cont {
    margin-bottom: 40px;
}

.button-more {
    position: absolute;
    top: 20px;
    left: 16px;
    display: inline-block;
    cursor: pointer;
    color: #6A6868;
    font-family: DIN Pro;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.teg-cont {
    position: relative;
}

.hidden{
    height: 0;
    overflow: hidden;
}

@media (max-width: 380px) {
    .button-more {
        top: 16px;
    }

    .tegs {
        padding-top: 15px;
        height: auto;
    }


}

.tegs .text,
.tegs-popular .text {
    width: 34px;
    height: 41px;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 41px;
    font-weight: 600;
    color: #000000;
    font-family: Qanelas, sans-serif;
}

.tegs-top-wrapper {
    background-color: #FBFCFD;
    padding-left: 10px;
    padding-right: 10px;
}

.more {
    font-family: Qanelas, sans-serif;
    color: #090909;
    font-size: 13px;
}

.button-more-size{
    position: absolute;
    top: 102px;
    right: 16px;
    display: inline-block;
    cursor:pointer;
    color: #6A6868;
font-family: DIN Pro;
font-size: 16px;
font-style: normal;
font-weight: 400;
}

.tegs{
display:flex;    
margin-bottom: 0px;    
}

.teg-body{
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
}

.teg-more{
  font-family: Qanelas, sans-serif;
font-weight: 350;
font-size: 14px;
}

.teg-more>div{
  width: 140px;
height: 33px;
border-radius: 16.5px;
border-width: 1px;
border: 1px solid rgba(163, 175, 197, 1);
}

.teg-more>div.hidden{
    height: 0;
    border: 0px solid rgba(163, 175, 197, 1);
    padding: 0;
}

.teg-more{
   min-width:100px;
   margin-right: 5px;
   position: relative;
   
}

.teg-more>div{
    cursor:pointer;
    position: absolute;
    bottom:-20px;
    left:0;
    margin-bottom: 10px;
    background: rgba(211, 223, 247, 1);
    border: 1px solid rgba(163, 175, 197, 1);
    width: auto;
    padding: 5px 15px 7px;
    display: inline-flex;
    align-items: center;
}

.teg-body{
    overflow: hidden;
    transition: 0.5s;
}

.teg-more span{
color:rgba(66, 68, 74, 1); 
font-weight: 300;
font-size: 18px;
line-height: 100%;
white-space: nowrap;
margin-right: 10px;
}

.teg-body span.item-teg{
border: 1px solid rgba(163, 175, 197, 1);
border-radius: 16.5px;
}

.link-top-close{
    margin-right: 15px;
}

 /* Базовые стили списка (убедитесь, что они соответствуют вашим текущим) */
ul.categories-list {
   margin-bottom: 10px;
    overflow: hidden; /* Важно для анимации скрытия */
    transition: max-height 0.3s ease;
}

/* Стили кнопки */
.categories-toggle-wrapper {
    text-align: left;
    margin-top: 10px;
}

.categories-toggle-btn {
background: rgba(29, 50, 93, 1);
padding: 9px 25px;
height: 39px;
border-radius: 19.5px;
transition: all 0.2s;
color:white;
display: inline-flex;
cursor: pointer;
align-items: center;
}

.categories-toggle-btn.active svg {
    transform: rotate(180deg);
}
.categories-toggle-btn span{
    margin-right: 10px;
    font-family: Qanelas;
font-weight: 300;
font-size: 18px;
line-height: 100%;

}

.categories-toggle-btn svg{
    margin-top: 3px;
    margin-bottom: 3px;
}

.categories-toggle-btn svg path{
    stroke:white;
}

.sect-top{
    margin-bottom: 50px;
}



.count-products{
width: 250px;    
}

@media screen and (max-width: 800px) {
   .count-products{
width: auto;    
}
}

@media(max-width: 768px){
    .tegs{
        flex-direction: column;
    }
    .teg-title{
        padding-bottom: 8px;
    }
}

@media (max-width: 600px) {
    .categories-toggle-btn span {
        font-size: 16px;
    }
}




/* End */
/* /local/templates/.default/components/forumedia/catalog.teg/catalog/style.css?17848111705658 */
