#block1{
width:99%;
display: flex;
}


#block1>div:first-child{
    width:350px !important;
 
}

#block1>div:last-child{
  width:100%!important;
  padding:0 0 10px 0;
  text-align: right;
}

.cl2 img{
  cursor: pointer;
}

#review img{
  display: block;
  max-width: 100%;
  height: auto;
  
}

#group_0 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content:start;
  align-items: stretch; /* чтобы все карточки были одной высоты */
}

#group_0 .cl {
  padding:5px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 32%;      /* одинаковая ширина */  
  min-width: 32%;
  max-width: 32%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
  position: relative;
}
.cl .mod{
    text-align: center;;
}

.cl .art{
font-size: 10pt;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0  5px 20px 0;
}

.cl .art svg {
  cursor: pointer;
    fill: #9c9c9a;
}

/* Удалите ховер для path, добавьте ховер для всего SVG */
.cl .art svg:hover path {
  fill: #F4E049;
}

/* Увеличьте специфичность класса */
.cl .art svg.svg_color path {
  fill: #f4cc49 !important;
}

h3.mod{
  margin:0;
  padding:0;
}
.cl caption a{
    color:#333;
    text-decoration: none;
    font-weight: 600;;
}

.cl caption {
    padding:5px 0;
}

.cl2 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0;
}

.cl2 img {
  display: block;
  width: 100%;
  height: 180px;      /* фиксированная высота картинки */
  object-fit: cover;  /* или contain, если нужны белые поля */
  margin: 0;
  border-radius: 0;
}

.cl2 table.disc_gr {
    margin:15px 0;
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.cl2 table.disc_gr tr >td:first-child{
    text-align: left;
}

#group_0 .mon_cart {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
  padding: 12px 0 0 0;
  background: #fff;
}

.money {
  font-family:  Arial;
  margin: 0 0 15px 0;
  font-size: 22px;
  color: #000;
  font-weight: bold;
}

.btn, .btn2 {
  content: "в корзину";
  cursor: pointer;
  font-size: 14px;
  padding: 8px 25px;
  border-radius: 6px;
  border:none;
   background-color: #FFEC00;
 
}
.btn2::before {
  content: "сделать запрос";
}


.btn::before {
  content: "в корзину";
 
   
}

.btn1{
  cursor:none;
  font-size: 14px;
  padding: 8px 25px;
    border:none;
  border-radius: 6px;
  background-color:#d6d5d5;
}

.btn1::before {
  content: "добавлено";
}

#group_1{
width:100%;
display:flex;
flex-direction:column;
align-items: flex-end;;
}

 

#group_1 img{
height:auto;
width:200px;
}

#group_1 .mon_cart {
 max-width:230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
}

#group_1  .cl2{
 
display:flex;
flex-direction: row;;
 
align-items: center;
padding: 10px 0px 0px 0px;
Justify-content:space-between
}

#group_1  .cl2 table{ 
max-width: 330px;;
margin: 5px 10px 5px 5px;
}
 
 
#group_1 h3.mod{
position: static;
top:0;
}

 
#group_1 .cl caption {
    width:100%;
    text-align: left;
}



#group_1 .cl {
  padding:5px 0 5px 0;
   display: flex;
  flex-direction: column;
   box-sizing: border-box;
  width: 99%;      /* одинаковая ширина */
  min-width: 99%;
  max-width: 99%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 10px 0;
  position: relative;
}

/* FILTER */

#filter {
   width: 300px;
  margin: 0 0 0 5px;
  font-family: Arial, sans-serif;
}

.accordion {
  min-height:60px;
  background-color: #f4f4f4;
  color: #333;
  cursor: pointer;
  padding: 0px 40px 0px 15px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  font-size: 14px;
  transition: background 0.2s;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
}

.accordion::after {
  content: '+';
  color: #888;
  font-size: 22px;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
}


.dic_{
opacity: 0.3;
}

.accordion.active {
  background-color: #e8f0fe;
}

.accordion.active::after {
  content: '–';
  font-size: 20px;
}

.panel {
  max-height: 0;
  overflow: hidden;
  background: #fafbfc;
  transition: max-height 0.3s cubic-bezier(.4,0,.2,1);
  border-bottom: 1px solid #e0e0e0;
  padding: 0 18px;
}

.panel.open {
  padding: 12px 18px 16px 18px;
  max-height: 500px; /* Достаточно для большинства случаев */
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.form-check input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #1976d2;
}
.form-check-label {
  font-size: 15px;
  color: #333;
}

/* FILTER */






 
/* PANEL */


 

#sort_select {
  padding: 5px ;
  font-size: 1rem;
  border: 1.5px solid #bfc7d1;
 
  color: #222;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
 
  cursor: pointer;
  min-width: 150px;
}

 


#line_gr {
  width: 98%;
  margin: 0;
  padding: 15px 10px;
  background: #F5F5F5;
  margin:0 20px 10px 10px;
  box-sizing: border-box;
  
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

 

/* Контейнер иконок */
#line_gr .list {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  margin-left: auto;
}

/* Иконки */
#line_gr .list1,
#line_gr .list2 {
  width: 30px;
  height: 30px;
  background: no-repeat center/contain;
  cursor: pointer;
  transition: opacity 0.2s;
}

#line_gr .list1 { background-image: url(/pic/icons/list1.png) }
#line_gr .list2 { background-image: url(/pic/icons/list2.png) }

/* Адаптивность */
@media (max-width: 480px) {
 
 
  
  .list {
    margin-left: 0;
    justify-content: flex-end;
  }
}

/* PANEL */









@media (max-width: 900px) {
  #group_0 .cl {
    width: 47%;  
    min-width: 47%;
    max-width: 47%;
  }

  #line_gr .list {
    display:none;
  }
}



@media (max-width: 740px) {

 
  
  #group_0 .cl {
    width: 99%;  
    min-width: 99%;
    max-width: 99%;
  }
}


@media (max-width: 600px) {
  #group_0 .cl {
    width: 99%;  
    min-width: 99%;
    max-width: 99%;
  }

#group_0{
 
  margin:5px 5px 0 10px;
}

  #block1{
    flex-direction: column;;
  }
 
#filter,#block1>div:first-child {
  width: 99% !important;
 
 }

}



  #review{
    padding:0 15px;
  }



#filter {
  position: fixed;
  top: 0;
  right: -2500px; /* Ширина фильтра (300) минус ширина кнопки (50) */
  width: 100%;
  height: 100vh;
  background: #fff;
 
  transition: right 0.3s ease;
  overflow-y: auto;
  padding:  0;;
       margin-top:150px;
}

#filter.open {
  right: 0px; /* Выезжает, оставляя кнопку видимой */
}

#filter-toggle {
  position: fixed;
  top: 0;
  right: 0;
    /* width: 10px;         по умолчанию - узкая */
  height: 100vh;
      /* background: #ffde00; */
  border: none;
  cursor: pointer;
  z-index: 1100;
  font-weight: bold;
  color: #000;
  border-radius: 0 0 0 0;
  box-shadow: -1px 0 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  user-select: none;
  letter-spacing: 2px;
  margin-top: 150px;
  transition: width 0.3s ease;
}

/* Когда фильтр открыт, кнопка шире */
#filter.open + #filter-toggle,
#filter-toggle.open {
  width: 30px;
}


@media (min-width: 768px) {



 

  #filter {
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    right: auto !important;
    transition: none;
    padding: 0;
      margin-top:0;
 
  }
  #filter.open {
    right: auto !important;
  }
  #filter-toggle {
    display: none;
  }
}


@media (max-width: 768px) {
  #filter {
  z-index: 1001;
  }

}