@import "product.css";
.shop__page_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
}
.shop__page_header .categories {
  padding: 40px 0px 60px 0px;
  display: flex;
  gap: 20px;
}
@media (max-width: 1120px) {
  .shop__page_header .categories {
    padding: 20px 0px;
    gap: 12px;
  }
}
.shop__page_header .categories .btn {
  font-size: 16px;
  padding: 10px;
}
.shop__page_header .sorting {
  position: relative;
}
@media (max-width: 1219px) {
  .shop__page_header .sorting {
    position: absolute;
    bottom: -34px;
    right: 0;
  }
}
.shop__page_header .sorting .sorting__header {
  user-select: none;
  display: flex;
  gap: 5px;
  padding: 15px;
}
@media (max-width: 1219px) {
  .shop__page_header .sorting .sorting__header {
    border-bottom: 1px solid #979797;
  }
}
.shop__page_header .sorting .sorting__header .sorting__header_title {
  color: #979797;
  font-size: var(--fs-caption);
  font-weight: 300;
}
.shop__page_header .sorting .sorting__header .sorting__header_active {
  color: #141414;
  font-size: var(--fs-caption);
  font-weight: 300;
  cursor: pointer;
}
.shop__page_header .sorting .sorting__body {
  width: 100%;
  overflow: hidden;
  height: auto;
  max-height: 0px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  transition: 0.3s 0s;
  position: absolute;
  z-index: 10;
}
.shop__page_header .sorting .sorting__body.open {
  max-height: 200px;
}
.shop__page_header .sorting .sorting__body li {
  list-style: none;
}
.shop__page_header .sorting .sorting__body li a {
  display: block;
  padding: 5px 10px;
  font-size: var(--fs-caption);
  font-weight: 300;
  color: #141414;
  -webkit-text-stroke: 0.5px transparent;
  transition: 0.2s 0s;
}
.shop__page_header .sorting .sorting__body li a:hover {
  -webkit-text-stroke: 0.5px #141414;
}

.shop__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
@media (max-width: 1219px) {
  .shop__wrapper {
    flex-direction: column;
  }
}
.shop__wrapper .shop__filters {
  width: 100%;
  max-width: 620px;
  transition: 0.3s 0s;
}
@media (max-width: 1219px) {
  .shop__wrapper .shop__filters {
    overflow: hidden;
    height: 43px;
    max-width: 100%;
  }
}
.shop__wrapper .shop__filters .filter {
  width: 364px;
}
@media (max-width: 1280px) {
  .shop__wrapper .shop__filters .filter {
    width: 290px;
  }
}
.shop__wrapper .shop__filters .filter .filter_header {
  user-select: none;
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  font-size: var(--fs-subhead);
  font-weight: 700;
  color: #141414;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #979797;
}
.shop__wrapper .shop__filters .filter .filter_header svg {
  width: 16px;
  height: 15px;
}
@media (max-width: 1219px) {
  .shop__wrapper .shop__filters .filter .filter_header {
    font-size: var(--fs-body);
    cursor: pointer;
    max-width: 165px;
  }
}
.shop__wrapper .shop__filters .filter .filter_body {
  padding: 30px;
}
.shop__wrapper .shop__filters .filter .filter__section {
  margin-bottom: 20px;
}
.shop__wrapper .shop__filters .filter .filter__section .filter__section_header {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: var(--fs-body);
  color: #000000;
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.shop__wrapper .shop__filters .filter .filter__section .filter__section_header.show svg {
  transform: rotate(90deg);
}
.shop__wrapper .shop__filters .filter .filter__section .filter__section_header svg {
  transform: rotate(-90deg);
  width: 12px;
  height: 20px;
  transition: 0.3s 0s;
}
.shop__wrapper .shop__filters .filter .filter__section .filter__section_body {
  display: flex;
  height: 0px;
  max-height: 0px;
  overflow-y: hidden;
  flex-direction: column;
  gap: 13.5px;
  padding-bottom: 0px;
  border-bottom: 1px solid #979797;
  transition: 0.3s 0s;
}
.shop__wrapper .shop__filters .filter .filter__section .filter__section_body.show {
  height: 100%;
  max-height: 300px;
  overflow-y: auto;
  padding-bottom: 20px;
}
.shop__wrapper .shop__filters.open {
  height: 100%;
  z-index: 10;
  position: relative;
  background: #fff;
}
.shop__wrapper .shop__filters.open .filter {
  width: 100%;
}
.shop__wrapper .shop__filters.open .filter_header {
  max-width: 100%;
}
.shop__wrapper .shop__content {
  width: 100%;
  max-width: 961px;
}
@media (max-width: 1219px) {
  .shop__wrapper .shop__content {
    margin: 0 auto;
    max-width: 100%;
  }
}
.shop__wrapper .shop__content .shop__content_products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* was missing → rows had 0 vertical gap, so the buy button stuck to the
     next row's card. Design spaces product cards 20px apart. */
  gap: 20px;
}
@media (max-width: 1219px) {
  .shop__wrapper .shop__content .shop__content_products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1185px) {
  .shop__wrapper .shop__content .shop__content_products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 885px) {
  .shop__wrapper .shop__content .shop__content_products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .shop__wrapper .shop__content .shop__content_products {
    gap: 7px;
    grid-template-columns: repeat(2, 50%);
  }
}
.shop__wrapper .shop__content ul.page-numbers {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-top: 40px;
  margin-left: 30px;
}
.shop__wrapper .shop__content ul.page-numbers li a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  font-size: var(--fs-caption);
  color: #141414;
  border: 1px solid #141414;
  border-radius: 50%;
  transition: 0.2s 0s;
}
.shop__wrapper .shop__content ul.page-numbers li a:hover {
  color: #fff;
  background: #141414;
}
.shop__wrapper .shop__content ul.page-numbers li span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  font-size: var(--fs-caption);
  padding: 12px 16px;
  color: #141414;
  border: 1px solid #141414;
  border-radius: 50%;
}
.shop__wrapper .shop__content ul.page-numbers li span.current {
  background: #141414;
  color: #fff;
}
