.goods {
  margin-bottom: 160px;
  display: flex;
  justify-content: space-between;
  margin-top: 95px;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 1420px) {
  .goods {
    gap: 40px;
  }
}

@media screen and (max-width: 767px) {
  .goods {
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 80px;
  }
}

.goods > svg {
  display: none;
}

@media screen and (max-width: 767px) {
  .goods > svg {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }
}

.goods__filter {
  width: 325px;
}

@media screen and (max-width: 1500px) {
  .goods__filter {
    padding-right: 13px;
  }
}

.goods__right {
  width: 100%;
  max-width: 1135px;
}

@media screen and (max-width: 767px) {
  .goods__right {
    width: 100%;
  }
  .goods__filter {
    display: none;
  }
}

.goods-hr {
  margin: 21px 0 15px 0;
  width: 100px;
  border-bottom: 1px solid rgba(239, 72, 36, 1);
}

.goods__block {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  grid-column-gap: 21px;
  grid-row-gap: 25px;
}

@media screen and (max-width: 768px) {
  .goods__block {
    margin-top: 20px;
  }
}

@media screen and (max-width: 425px) {
  .goods__block {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    grid-column-gap: 10px;
    grid-row-gap: 20px;
  }
}

.goods__card {
  display: block;
  border-bottom: 1px solid rgba(238, 238, 238, 1);
  padding-bottom: 25px;
  text-decoration: none;
}

.goods__card:hover .headline-h5 {
  color: #ef4824;
}

.goods__card:hover .product-card__img-wrapper::before {
  opacity: .3;
}

.goods__card .product-card__img-wrapper {
  position: relative;
  height: 285px;
  border-radius: 20px;
  overflow: hidden;
}

.goods__card .product-card__img-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: #ef4824;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.goods__card :is(img, .product-card__img) {
  width: 100%;
  height: 285px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 768px) {
  .goods__card > img {
    border-radius: 10px;
    display: flex;
    flex-shrink: 0;
    height: 170px !important;
  }
}

.card__block {
  margin-top: 15px;
}

.card__block > p {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #2b292773;
  margin: 5px 0 15px 0;
}

.card__block > span {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  margin-top: auto !important;
  color: rgba(239, 72, 36, 1);
}

@media screen and (max-width: 768px) {
  .card__block {
    margin-top: 10px;
  }

  .card__block > h5 {
    font-size: 18px;
    line-height: 20px;
  }

  .card__block > p {
    font-size: 12px;
    line-height: 16px;
    margin: 5px 0 10px 0;
  }

  .card__block > span {
    font-size: 14px;
    line-height: 20px;
  }
  .goods__card {
    padding-bottom: 15px;
  }
}

.goods-button {
  width: 200px;
  height: 60px;
}

@media screen and (max-width: 425px) {
  .goods-button {
    width: 100%;
    height: 55px;
  }
}

.goods__button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.filter__list > p {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  color: rgba(43, 41, 39, 1);
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
  .filter__list > p {
    font-size: 18px;
  }
}

.swow-all {
  margin-top: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: rgba(239, 72, 36, 1);
  background: transparent;
}

.filter__hr {
  width: 100%;
  border-bottom: 1px solid rgba(238, 238, 238, 1);
}

.filter__category {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
  color: rgba(43, 41, 39, 1);
  margin-top: 17px;
}

@media screen and (max-width: 767px) {
  .filter__category {
    margin-bottom: 10px;
  }
}

.filter__category > p {
  margin-bottom: 5px;
  font-size: 16px;
}

@media only screen and (max-width: 768px) {
  .filter__category > p {
    font-size: 14px;
  }
}

.filter__category ul > li {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(43, 41, 39, 1);
  /* width: 100%;*/
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
}

.fiter__active {
  background-color: rgba(244, 243, 245, 1);
  right: 12px;
  padding-left: 12px;
}

@media screen and (max-width: 767px) {
  .fiter__active {
    width: calc(100% + 10px);
  }
}

.filter-active-style {
  margin-left: 1px;
}

/*range*/

h3.range-title {
  margin-bottom: 4rem;
}

.range-slider {
  position: relative;
  width: 100%;
  height: 1px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 25px 0 10px 0;
  background-color: rgba(238, 238, 238, 1);
}

@media screen and (max-width: 767px) {
  .range-slider {
    margin: 25px 0 30px 0;
  }
}

.slider-track {
  height: 100%;
  position: absolute;
  background-color: rgba(239, 72, 36, 1);
}

.slider-track-modal {
  height: 100%;
  position: absolute;
  background-color: rgba(239, 72, 36, 1);
}

.range-slider input {
  position: absolute;
  width: 100%;
  background: none;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  border: 1px solid rgba(239, 72, 36, 1);
  background: rgba(239, 72, 36, 1);
  pointer-events: auto;
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  border: 3px solid rgba(239, 72, 36, 1);
  background: rgba(239, 72, 36, 1);
  pointer-events: auto;
  -moz-appearance: none;
  cursor: pointer;
}

.input-box {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .input-box {
    width: 100%;
  }
}

.input-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.min-box {
  position: relative;
}

.max-box {
  position: relative;
}

.input-wrap:before {
  position: absolute;
  content: "От";
  z-index: 2;
  top: 8px;
  left: 10px;
  text-align: center;
  font-family: "Manrope", sans-serif;
  color: rgba(43, 41, 39, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
}

.input-wrap2:before {
  position: absolute;
  content: "До";
  z-index: 2;
  top: 8px;
  left: 10px;
  text-align: center;
  font-family: "Manrope", sans-serif;
  color: rgba(43, 41, 39, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
}

.tooltip {
  padding: 0;
  border: 0;
  background: rgba(239, 72, 36, 1);
  width: 54px;
  height: 23px;
  position: absolute;
  text-align: center;
  white-space: nowrap;
}

.input-field {
  position: relative;
  width: 155px;
  height: 40px;
  border-radius: 5px;
  border: none;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(43, 41, 39, 1);
  padding: 5px 5px 5px 35px;
  border: 1px solid rgba(238, 238, 238, 1);
}

@media screen and (max-width: 767px) {
  .input-field {
    max-width: 147px;
  }
}
@media screen and (max-width: 375px) {
  .input-field {
    max-width: 135px;
  }
}

.input-field:focus {
  outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*checkbox*/
.checkbox {
  display: block;
  margin: 0 0 10px 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}

@media screen and (max-width: 767px) {
  .checkbox {
    margin: 0 0 7px 0;
  }
}

.checkbox input[type="checkbox"] {
  position: absolute;
  z-index: -1;
  opacity: 0;
  display: block;
  width: 0;
  height: 0;
}
.checkbox span {
  display: inline-block;
  position: relative;
  padding: 0 0 0 25px;
  line-height: 20px;
}
.checkbox span:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../images/checkbox.svg) 0 0 no-repeat;
}

.checkbox input[type="checkbox"]:checked + span:before {
  background-image: url(../images/checkbox-checked.svg);
}

.checkbox > span {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: rgba(43, 41, 39, 1);
}

.checkbox__block {
  margin-bottom: 10px;
}

.goods__buttons {
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .goods__buttons {
    margin-bottom: 40px;
  }
}

.goods__buttons :is(button, .button-standart) {
  width: 100%;
  height: 60px;
}

.goods__buttons > *:first-child {
  display: block;
  margin-bottom: 10px;
}

.colorGray {
  background-color: rgba(244, 243, 245, 1) !important;
  color: rgba(43, 41, 39, 0.4) !important;
}

.filter__button {
  display: none;
}

@media screen and (max-width: 767px) {
  .filter__button {
    display: flex;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    background-color: rgba(254, 243, 241, 1);
    color: rgba(239, 72, 36, 1);
    width: 100%;
    height: 55px;
    border-radius: 8px;
    margin-top: 20px;
    align-items: center;
    padding: 0px 20px 0 20px;
  }
}

.filter__button > div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* filter-modal*/

.filter-modal {
  display: none;
}

.filter-modal .button-standart {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
}

.goods__filterModal {
  max-width: calc(100% - 30px);
  margin: 25px auto 0 auto;
  border-radius: 15px;
  padding: 25px 25px 25px 15px;
  background-color: rgba(255, 255, 255, 1);
  position: relative;
}

@media screen and (max-width: 375px) {
  .goods__filterModal {
    max-width: calc(100% - 10px);
    margin: 10px auto 0 auto;
    padding: 15px 15px 15px 5px;
  }
}

.goods__buttons-modal {
  margin: 25px 0 0 0;
}

.goods__buttons-modal > button {
  width: 100%;
  height: 50px;
}

.goods__buttons-modal > button:first-child {
  margin-bottom: 10px;
}

.close-filter {
  position: absolute;
  top: 25px;
  right: 25px;
}

@media screen and (max-width: 375px) {
  .close-filter {
    top: 15px;
    right: 15px;
  }
}

.filter__list {
  margin-bottom: 17px;
}

@media screen and (max-width: 767px) {
  .filter__list {
    margin-bottom: 0px;
    padding-left: 15px;
  }
}

.fiter-wrap {
  overflow-y: auto;
  height: 80vh;
  padding-left: 10px;
}

.fiter-wrap::-webkit-scrollbar {
  width: 0;
}
