.products_catalog {
  padding: 12rem 0px;
  background-color: var(--light);
}
.products_catalog .head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8rem;
}
.products_catalog .intro {
  width: 56rem;
  flex-shrink: 0;
}
.products_catalog .intro p {
  font-size: 1.6rem;
  line-height: 2.6rem;
}
.products_catalog .wrap {
  display: flex;
  align-items: flex-start;
  gap: 5.3rem;
  margin-top: 6.3rem;
  padding-top: 3.6rem;
  border-top: 1px solid rgba(16, 61, 25, 0.16);
}
/* ---- filter sidebar ---- */
.products_catalog .filter_open_btn,
.products_catalog .filter_mask,
.products_catalog .filter_head {
  display: none;
}
.products_catalog .side {
  position: sticky;
  top: 14rem;
  width: 31rem;
  flex-shrink: 0;
  padding-top: 0.7rem;
}
.products_catalog .filters {
  padding-bottom: 3.8rem;
  border-bottom: 1px solid rgba(16, 61, 25, 0.16);
}
.products_catalog .group + .group {
  margin-top: 3.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(16, 61, 25, 0.16);
}
.products_catalog .group h4 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 2.4rem;
  text-transform: uppercase;
}
.products_catalog .group ul {
  margin-top: 1.2rem;
}
.products_catalog .group li.hide {
  display: none;
}
.products_catalog .group label {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 3.3rem;
  cursor: pointer;
}
.products_catalog .group input {
  position: absolute;
  width: 0px;
  height: 0px;
  opacity: 0;
}
.products_catalog .group i {
  position: relative;
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1px solid #646b65;
  transition: border-color 0.3s;
}
.products_catalog .group i::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0px 0px -0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  transform: scale(0);
  transition: transform 0.25s;
}
.products_catalog .group span {
  color: var(--text);
  font-size: 1.5rem;
  line-height: 2.1rem;
  transition: color 0.3s;
}
.products_catalog .group label:hover i {
  border-color: var(--primary);
}
.products_catalog .group label:hover span {
  color: var(--primary);
}
.products_catalog .group input:checked + i {
  border-color: var(--primary);
}
.products_catalog .group input:checked + i::before {
  transform: scale(1);
}
.products_catalog .group input:checked ~ span {
  color: var(--text_dark);
  font-weight: 600;
}
/* ---- help card ---- */
.products_catalog .help {
  margin-top: 3.5rem;
  padding: 3.4rem 2.5rem 3rem;
  border-radius: 1.4rem;
  background-color: var(--primary);
}
.products_catalog .help h3 {
  color: #fff;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 2.6rem;
}
.products_catalog .help p {
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  line-height: 2.4rem;
}
.products_catalog .help .btn {
  margin-top: 4.8rem;
}
/* ---- toolbar ---- */
.products_catalog .main {
  flex: 1;
  min-width: 0px;
}
.products_catalog .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 3.6rem;
}
.products_catalog .count {
  color: var(--text_dark);
  font-size: 1.5rem;
  line-height: 2.1rem;
}
.products_catalog .count em {
  font-weight: 600;
}
.products_catalog .clear {
  height: 3.6rem;
  padding: 0px 2.6rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(16, 61, 25, 0.25);
  color: var(--text_dark);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
  transition: 0.3s;
}
.products_catalog .clear:hover {
  color: #fff;
  border-color: var(--primary);
  background-color: var(--primary);
}
/* ---- product grid ---- */
.products_catalog .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.3rem 2.5rem;
  margin-top: 1.8rem;
}
.products_catalog .item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 56.5rem;
  border: 1px solid #e3e8df;
  border-radius: 2.4rem;
  background-color: #fff;
  transition: box-shadow 0.4s, border-color 0.4s;
}
.products_catalog .item:hover {
  border-color: transparent;
  box-shadow: 0px 1.5rem 3rem rgba(139, 160, 150, 0.25);
}
.products_catalog .item.hide {
  display: none;
}
.products_catalog .item > .img {
  display: block;
  flex-shrink: 0;
  height: 25.5rem;
  background-color: #e6ece2;
}
.products_catalog .item:hover > .img img {
  transform: scale(1.04);
}
.products_catalog .info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.3rem 3rem 3rem;
}
.products_catalog .item h3 {
  white-space: nowrap;
  color: var(--title);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 3rem;
}
.products_catalog .item h3 a {
  transition: color 0.3s;
}
.products_catalog .item h3 a:hover {
  color: var(--green);
}
.products_catalog .txt p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  height: 6.6rem;
  margin-top: 0.8rem;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 2.2rem;
}
.products_catalog .foods {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.6rem;
  min-height: 5.4rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.products_catalog .foods .chip {
  height: 2.4rem;
  padding: 0px 1rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
}
.products_catalog .item .btn_text {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 1.6rem;
  line-height: 2.2rem;
}
.products_catalog .item .btn_text::after {
  width: 1.4rem;
  height: 1rem;
}
/* ---- load more / empty ---- */
.products_catalog .more {
  display: flex;
  justify-content: center;
  margin-top: 4.4rem;
}
.products_catalog .more .more_btn {
  border-color: rgba(16, 61, 25, 0.35);
  background-color: #fff;
}
.products_catalog .more .more_btn:hover {
  color: #fff;
  border-color: var(--primary);
  background-color: var(--primary);
}
.products_catalog .more .more_btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.products_catalog .more .more_btn.loading::after {
  visibility: hidden;
}
.products_catalog .more .more_btn.loading::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin: auto;
  border: 2px solid var(--primary);
  border-right-color: transparent;
  border-radius: 50%;
  animation: sytech_loading_spin 0.7s linear infinite;
}
.products_catalog .more .more_btn.loading:hover::before {
  border-color: #fff;
  border-right-color: transparent;
}
.products_catalog .more.hide,
.products_catalog .empty.hide {
  display: none;
}
.products_catalog .empty {
  padding: 8rem 0px;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 3rem;
  text-align: center;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .products_catalog .head {
    flex-direction: column;
    gap: 2.4rem;
  }
  .products_catalog .intro {
    width: 100%;
  }
  .products_catalog .wrap {
    gap: 4rem;
  }
  .products_catalog .side {
    width: 26rem;
  }
  .products_catalog .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem 2.5rem;
  }
  .products_catalog .item {
    min-height: 0px;
  }
  .products_catalog .item h3 {
    white-space: normal;
  }
  .products_catalog .item > .img {
    height: 22rem;
  }
  .products_catalog .info {
    padding: 2.2rem 2.4rem 2.6rem;
  }
}
@media screen and (max-width: 768px) {
  .products_catalog {
    padding: 60px 0px;
  }
  .products_catalog .head {
    flex-direction: column;
    gap: 14px;
  }
  .products_catalog .head h2 br {
    display: none;
  }
  .products_catalog .intro {
    width: 100%;
  }
  .products_catalog .intro p {
    font-size: 15px;
    line-height: 1.7;
  }
  .products_catalog .wrap {
    flex-direction: column;
    gap: 0px;
    margin-top: 32px;
    padding-top: 26px;
  }
  .products_catalog .filter_open_btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    height: 36px;
    margin-bottom: 16px;
    padding: 0px 16px;
    border: 1px solid rgba(16, 61, 25, 0.25);
    border-radius: 18px;
    color: var(--title);
    font-weight: 600;
    font-size: 14px;
    background: #fff;
  }
  .products_catalog .filter_mask {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(7, 17, 30, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
  }
  .products_catalog.filter_open .filter_mask {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .products_catalog .side {
    position: fixed;
    z-index: 1100;
    top: 0px;
    left: 0px;
    width: min(320px, 88vw);
    height: 100%;
    margin: 0px;
    padding: 20px 20px 32px;
    overflow: auto;
    background: #fff;
    transform: translateX(-105%);
    transition: transform 0.3s;
  }
  .products_catalog.filter_open .side {
    transform: translateX(0px);
  }
  .products_catalog .filter_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .products_catalog .filter_head strong {
    color: var(--title);
    font-size: 18px;
    line-height: 24px;
  }
  .products_catalog .filter_close {
    position: relative;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
  }
  .products_catalog .filter_close::before,
  .products_catalog .filter_close::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 15px;
    width: 20px;
    height: 1.5px;
    background: var(--title);
  }
  .products_catalog .filter_close::before {
    transform: rotate(45deg);
  }
  .products_catalog .filter_close::after {
    transform: rotate(-45deg);
  }
  .products_catalog .filters {
    padding-bottom: 24px;
  }
  .products_catalog .group + .group {
    margin-top: 24px;
    padding-top: 18px;
  }
  .products_catalog .group h4 {
    font-size: 15px;
    line-height: 20px;
  }
  .products_catalog .group ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 18px;
    margin-top: 6px;
  }
  .products_catalog .group label {
    gap: 8px;
    height: 32px;
  }
  .products_catalog .group i {
    width: 16px;
    height: 16px;
  }
  .products_catalog .group i::before {
    width: 9px;
    height: 9px;
    margin: -4.5px 0px 0px -4.5px;
  }
  .products_catalog .group span {
    font-size: 14px;
    line-height: 20px;
  }
  .products_catalog .help {
    margin-top: 24px;
    padding: 24px 20px;
    border-radius: 14px;
  }
  .products_catalog .help h3 {
    font-size: 19px;
    line-height: 26px;
  }
  .products_catalog .help p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 22px;
  }
  .products_catalog .help .btn {
    margin-top: 22px;
  }
  .products_catalog .bar {
    height: auto;
    margin-top: 30px;
  }
  .products_catalog .count {
    font-size: 14px;
    line-height: 20px;
  }
  .products_catalog .clear {
    height: 32px;
    padding: 0px 16px;
    border-radius: 16px;
    font-size: 13px;
  }
  .products_catalog .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 16px;
  }
  .products_catalog .item {
    min-height: 0px;
    border-radius: 18px;
  }
  .products_catalog .item h3 {
    white-space: normal;
    font-size: 19px;
    line-height: 26px;
  }
  .products_catalog .item > .img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .products_catalog .info {
    padding: 18px 18px 20px;
  }
  .products_catalog .txt p {
    height: auto;
    margin-top: 6px;
    font-size: 14px;
    line-height: 22px;
  }
  .products_catalog .foods {
    min-height: 0px;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
  }
  .products_catalog .foods .chip {
    height: 24px;
    font-size: 12px;
  }
  .products_catalog .item .btn_text {
    padding-top: 16px;
    font-size: 15px;
    line-height: 20px;
  }
  .products_catalog .more {
    margin-top: 26px;
  }
  .products_catalog .empty {
    padding: 40px 0px;
    font-size: 15px;
    line-height: 1.7;
  }
}
@media screen and (max-width: 576px) {
  .products_catalog .grid {
    grid-template-columns: 1fr;
  }
}
