body {
  background-color: #F8F8F8;
}

.products-header {
  max-width: 1484px;
  margin: 0 auto;
  padding: 0 32px;
}

.breadcrumbs {
  margin: 32px 0 24px;
}

.breadcrumbs-list {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.breadcrumb-slash {
  width: 10px;
  min-width: 10px;
  height: 14px;
  fill: #494C54;
}

.breadcrumb-arrow {
  display: none;
}

.breadcrumb-item {
  color: #494C54;
}
.breadcrumb-item a {
  color: #494C54;
  transition: ease 0.3s;
}
.breadcrumb-item a:visited {
  color: #494C54;
}
.breadcrumb-item a:hover {
  color: #64B499;
}
.breadcrumb-item:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .products-header {
    padding: 0 16px;
  }
}
@media (max-width: 768px) {
  .breadcrumbs {
    margin: 16px 0;
  }
}
.products-body {
  max-width: 1484px;
  margin: 0 auto 100px auto;
  padding: 0 32px;
}

.products-title {
  margin-bottom: 24px;
}

.products-body-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.filter-sidebar {
  position: sticky;
  top: 128px;
  max-width: 340px;
  width: 100%;
  padding: 20px 10px 0 10px;
  background: white;
  border-radius: 6px;
}

.filters-header-mob {
  display: none;
}

.filter-mob-title {
  display: flex;
  align-items: center;
  gap: 4px;
}
.filter-mob-title svg {
  width: 16px;
  height: 16px;
  fill: black;
}

.filters-close {
  position: static;
}
.filters-close svg {
  width: 16px;
  height: 16px;
}

.prod-category-list {
  padding-bottom: 32px;
}

.prod-category-wrap {
  overflow: hidden;
}
.prod-category-wrap:not(:last-child) {
  margin-bottom: 12px;
}
.prod-category-wrap.active .prod-category-item {
  background: #ffc527;
  color: black;
}
.prod-category-wrap.open .prod-cat-item-btn svg {
  transform: translate(-50%, -50%) rotate(90deg);
}
.prod-category-wrap.open .prod-subcat-wrapper {
  height: calc((var(--quantity)) * 39px);
  opacity: 1;
  transition: 0.3s;
}

.prod-category-item {
  position: relative;
  min-height: 50px;
  padding: 6px 12px 6px 10px;
  background: #F8F8F8;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  transition: 0.3s;
  user-select: none;
  cursor: pointer;
}
.prod-category-item span {
  display: flex;
  gap: 12px;
  align-items: center;
}
.prod-category-item.active {
  pointer-events: none;
  background: #ffc527;
  color: black;
}
.prod-category-item:hover {
  color: black;
}

.prod-cat-item-btn {
  flex: 0 0 auto;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.75);
}
.prod-cat-item-btn svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 10px;
  fill: black;
  transition: 0.3s;
}

.prod-subcat-wrapper {
  width: 100%;
  height: 0;
  opacity: 0;
  transition: 0.3s;
}

.prod-subcat-item {
  width: 100%;
  padding: 6px 12px 6px 10px;
  background: white;
  display: block;
  color: #868A96;
  transition: 0.3s;
}
.prod-subcat-item.active {
  pointer-events: none;
  color: black;
}
.prod-subcat-item:hover {
  color: black;
}

.prod-filters {
  padding: 32px 7px 0 8px;
  border-top: 1.2px solid #E6E6E6;
}

.filter-box {
  padding: 20px 0;
}
.filter-box.open .filter-inner {
  height: calc((var(--quantity)) * 34px + 12px + 12px + 40px);
  opacity: 1;
  transition: 0.3s;
}
.filter-box.open .filter-icon span:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}
.filter-box:not(:last-child) {
  border-bottom: 1.2px solid #E6E6E6;
}
.filter-box button {
  width: 100%;
  margin: 12px auto 0 auto;
  padding: 6px;
  justify-content: center;
}

.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-title {
  user-select: none;
  cursor: pointer;
}

.filter-icon {
  position: relative;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.filter-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  display: block;
  width: 16px;
  height: 2px;
  background: #868A96;
  border-radius: 1px;
  opacity: 1;
  transition: transform 0.3s, opacity 0.2s;
}
.filter-icon span:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.filter-inner {
  height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  overflow: hidden;
  transition: 0.3s;
}

.filter-checkbox-wrapper {
  width: 100%;
  display: flex;
  gap: 12px;
  line-height: 1.65;
}
.filter-checkbox-wrapper:first-child {
  margin-top: 12px;
}

.filter-checkbox {
  -webkit-appearance: none;
  position: relative;
  max-width: 18px;
  width: 100%;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 1px;
  outline: none;
  transition: all 0.2s ease;
}
.filter-checkbox:hover {
  cursor: pointer;
}
.filter-checkbox::before {
  position: absolute;
  top: 1.5px;
  left: 1.3px;
  width: 14px;
  height: 10px;
  content: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='14' height='10'><path fill='%23fff' d='M5.17 9.333a.85.85 0 0 1-.613-.232L.263 5.081c-.35-.308-.35-.772 0-1.081A.93.93 0 0 1 1.49 4l3.593 3.4L12.445.29c.263-.31.876-.387 1.227-.155.35.232.438.773.175 1.082l-.088.077-7.975 7.73c-.087.232-.35.31-.613.31'/></svg>");
  opacity: 0;
  transition: 0.2s;
}
.filter-checkbox:checked {
  background: black;
}
.filter-checkbox:checked::before {
  opacity: 1;
}

.filter-mob-btn {
  display: none;
}

.products-catalog {
  max-width: 1060px;
  width: 100%;
}

.products-grid {
  max-width: 1060px;
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 1200px) {
  .filter-sidebar {
    max-width: 300px;
  }
}
@media (max-width: 1100px) {
  .filter-sidebar {
    max-width: 340px;
  }
}
@media (max-width: 900px) {
  .filter-sidebar {
    position: fixed;
    top: 51px;
    right: 0;
    transform: translateX(100%);
    z-index: 100;
    max-width: 100vw;
    height: 100vh;
    padding: 32px 16px 0 16px;
    border-radius: 0;
    transition: 0.3s;
    overflow-y: auto;
  }
  .filter-sidebar.open {
    transform: translateX(0%);
  }
  .filter-mob-btn {
    max-width: 168px;
    width: 100%;
    margin-bottom: 16px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
  .filter-mob-btn svg {
    width: 16px;
    height: 16px;
    fill: black;
  }
  .filters-header-mob {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .prod-filters {
    padding: 0;
  }
  .prod-filter-title {
    display: none;
  }
  .filter-box {
    padding: 12px 0;
  }
  .filter-box:last-child {
    border-bottom: 1.2px solid #E6E6E6;
  }
}
@media (max-width: 768px) {
  .filter-checkbox-wrapper {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .filter-mob-btn {
    max-width: 100%;
  }
}
.product {
  position: relative;
  max-width: 340px;
  width: calc((100% - 40px) / 3);
  background: white;
  border: 1.2px solid #E6E6E6;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.3s;
}
.product:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-img {
  display: block;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  width: 100%;
  padding: 12px 20px 20px 20px;
}
.product-info .product-availability {
  margin-bottom: 12px;
}

.product-title {
  margin: 12px 0;
}

.product-label-block {
  position: absolute;
  left: 0;
  top: 0;
  width: 78px;
  height: 32px;
  text-align: center;
  color: white;
  text-transform: uppercase;
  line-height: 1.2;
  font-family: Bold;
  font-size: 14px;
}
.product-label-block .product-label {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-bottom-right-radius: 6px;
}
.product-label-block .green-label {
  background-color: #64B499;
}
.product-label-block .yellow-label {
  background-color: #ffc527;
}
.product-label-block .red-label {
  background-color: #FF3126;
}

.product-availability {
  margin-bottom: 24px;
}
.product-availability .product-available {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #64B499;
}
.product-availability .product-available svg {
  fill: #64B499;
  width: 12px;
  height: 9px;
}
.product-availability .product-unavailable {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #FF3126;
}
.product-availability .product-unavailable svg {
  fill: #FF3126;
  width: 12px;
  height: 12px;
  margin-top: -1px;
}

.pagination {
  width: max-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pag-item {
  width: 32px;
  height: 32px;
  padding-top: 2px;
  text-align: center;
  border-radius: 2px;
  background: white;
  font-family: Bold;
  font-size: 20px;
  line-height: 1.4;
}
.pag-item.current {
  background: #ffc527;
}

@media (max-width: 1100px) {
  .product {
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 900px) {
  .products-body {
    padding: 0 16px;
  }
  .product {
    width: calc((100% - 40px) / 3);
  }
}
@media (max-width: 768px) {
  .products-title {
    margin-bottom: 16px;
  }
  .products-grid {
    margin-bottom: 24px;
    gap: 8px;
  }
  .product {
    width: calc((100% - 24px) / 3);
  }
  .product-info {
    padding: 16px 10px;
  }
  .product-info .product-availability {
    display: none;
  }
  .product-title {
    margin: 0 0 12px 0;
  }
}
@media (max-width: 600px) {
  .product {
    width: calc((100% - 8px) / 2);
  }
  .product-label-block {
    width: 50px;
    height: 21px;
    font-size: 10px;
  }
}
.cta-section {
  margin: 100px auto;
  border-radius: 12px;
  max-width: 1420px;
  color: white;
  display: flex;
  position: relative;
  background-color: #64B499;
}

.cta-wrap {
  margin: 96px 0 96px 96px;
}
.cta-wrap .body {
  margin: 24px 0;
  max-width: 500px;
}

.cta-img {
  display: flex;
  position: absolute;
  bottom: -1px;
  right: 70px;
  width: 490px;
  height: 470px;
  object-fit: contain;
}

@media (max-width: 1484px) {
  .cta-section {
    margin: 100px 32px;
  }
}
@media (max-width: 1300px) {
  .cta-wrap {
    margin: 96px 0 96px 32px;
    max-width: 56vw;
  }
  .cta-wrap .body {
    max-width: 40vw;
  }
}
@media (max-width: 1100px) {
  .cta-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: unset;
    margin: 32px 20px;
  }
  .cta-wrap .body {
    max-width: unset;
  }
  .cta-img {
    position: unset;
  }
  .cta-img {
    width: calc(100% - 32px);
    margin-bottom: -1px;
    max-width: 490px;
    aspect-ratio: 490/470;
    height: unset;
  }
}
@media (max-width: 768px) {
  .cta-section {
    margin: 56px 16px;
  }
}