

/* Фильтры */
.filters-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-group {
  position: relative;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid #eceff1;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #263238;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: #7cc440;
  box-shadow: 0 2px 8px rgba(124, 196, 64, 0.1);
}

.filter-btn.active {
  background: #7cc440;
  color: white;
  border-color: #7cc440;
}

.filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #eceff1;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  display: none;
  z-index: 100;
  max-height: 50vh;
  overflow-y: auto;
  min-width: 200px;
  animation: dropdownShow 0.25s ease;
}

@keyframes dropdownShow {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-dropdown.show {
  display: block;
}

/* Элементы фильтров */
.filter-option {
  padding: 0.75rem;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #263238;
  transition: all 0.2s ease;
  margin: 2px 0;
}

.filter-option:hover {
  background: #e8f5e9;
}

.filter-option.selected {
  background: rgba(124,196,64,0.1);
  color: #7cc440;
  font-weight: 500;
}

.color-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.color-option.selected::after {
  content: '✓';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: #7cc440;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Активные теги */
.active-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #e8f5e9;
  color: #7cc440;
  border-radius: 8px;
  font-size: 0.9rem;
  animation: tagAppear 0.3s ease;
}

@keyframes tagAppear {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tag-remove {
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.tag-remove:hover {
  background: rgba(124,196,64,0.2);
}

/* Сетка товаров */
/*.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}*/

/*.product-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}*/

/*.product-card:hover {*/
/*  transform: translateY(-4px);*/
/*  box-shadow: 0 8px 24px rgba(0,0,0,0.08);*/
/*}*/

/*.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #7cc440;
  margin: 1rem 0 0.5rem;
}*/

@media (max-width: 768px) {
  .filter-btn {
    width: 100%;
    justify-content: space-between;
  }
  .filter-dropdown {
    width: 100%;
  }
}









































/*filters*/
.filters {
  display: flex;
  align-items: center;
  gap: 0px 15px;
  margin-bottom: 0px;
  padding: 15px;
  position: relative;
  box-sizing: border-box;
   overflow: auto;-ms-overflow-style: none;scrollbar-width: none;
  overflow: auto;
  -ms-overflow-style: none;*/
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

/*@media (min-width: 0px) {
  .filters {
   
  }
}*/
@media (min-width: 800px) {
  .filters {
    overflow: inherit;
  }
}

.filter {
  color: #898989;font-weight: 500;position: relative;
  fill: #898989;box-shadow: 0 2px 16px rgba(0,0,0,.08);border-radius: 5px;
}

.wrapper_title_filter {
  display: flex;align-items: center;gap: 5px;padding: 15px;
}

.wrapper_title_filter > :nth-child(2 of div) {
  width: 20px;height: 20px;
}

.list_option_filter {
  display: none;
  min-width: max-content;
  z-index: 1;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.21);
  margin-top: 15px;
  border-radius: 5px;
  background: white;
  color: #646464;
  max-height: 350px;
}

@media (min-width: 0px) {
  .list_option_filter {
    position: fixed;
    width: calc(100%);
    bottom: 50px;
    left: 0px;
    padding-top: 25px;
  }
}
@media (min-width: 800px) {
  .list_option_filter {
    position: absolute;
    width: 100%;
    margin-left: 0px;
    bottom: auto;
    padding-top: 0px;
  }
}

.el_list_option_filter {
  padding: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #b9b9b930;
  padding-bottom: 17px;
  padding-top: 17px;
  font-size: 14px;
}

[for=filter].active > .filter_ico {
  transform: rotate(180deg);
}

[for=filter].active + .list_option_filter {
  display: block;
}

.checkbox_filter {
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 17px;
  padding-bottom: 17px;
}

.tags {
  margin-left: 10px;display: flex;gap: 7px;margin-top: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.tag {
  display: flex;
  gap: 10px;
  align-items: center;
  fill: white;
  background: #7cc440;
  color: white;
  padding: 10px;
  border-radius: 7px;
  font-size: 14px;
}

.tag > :nth-child(1 of div) {
  width: max-content;
}

.tag > :nth-child(2 of div) {
  width: 14px; height: 14px;
}




