﻿body.tg-product-list {
  --tg-shell-max: 19.2rem;
  background: #ffffff;
}

.tg-product-list .tg-shell {
  width: min(calc(100% - 0.96rem), var(--tg-shell-max));
}

.product-list-main {
  padding-bottom: 0.96rem;
}

.product-list-hero {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  max-width: 8rem;
  margin-bottom: 0.64rem;
}

.product-list-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.08rem;
  color: #4e4639;
  font-size: 0.16rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-list-breadcrumb a {
  transition: color 0.25s ease;
}

.product-list-breadcrumb a:hover {
  color: #775a19;
}

.product-list-breadcrumb__sep {
  display: inline-flex;
  width: 0.16rem;
  height: 0.16rem;
  color: #7f7667;
}

.product-list-breadcrumb__sep svg,
.product-list-chip svg,
.product-list-sort svg,
.product-list-pagination__arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-list-title {
  margin: 0 0 0.16rem;
  color: #1c1b1b;
  font-size: 0.746667rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-list-description {
  margin: 0;
  color: #4e4639;
  font-size: 0.213333rem;
  line-height: 1.6;
}

.product-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.32rem;
  margin: 0 0 0.64rem 0;
  padding: 0.24rem 0.48rem;
  border-bottom: 1px solid rgba(209, 197, 180, 0.2);
  background: rgba(246, 243, 242, 0.5);
}

.product-list-toolbar__count {
  color: #4e4639;
  font-size: 0.213333rem;
  font-weight: 500;
}

.product-list-toolbar__actions,
.product-list-toolbar__filters,
.product-list-toolbar__sort {
  display: flex;
  align-items: center;
}

.product-list-toolbar__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.32rem;
}

.product-list-toolbar__filters {
  gap: 0.12rem;
}

.product-list-chip,
.product-list-sort {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  border: 1px solid rgba(209, 197, 180, 0.4);
  background: #ffffff;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.product-list-chip {
  min-height: 0.4rem;
  padding: 0 0.213333rem;
  border-radius: 0.053333rem;
  color: #1c1b1b;
  font-size: 0.16rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-list-chip.is-active {
  color: #775a19;
  border-color: #775a19;
}

.product-list-chip--select {
  appearance: none;
  min-width: 2.08rem;
  padding-right: 0.4rem;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #4e4639 50%), linear-gradient(135deg, #4e4639 50%, transparent 50%);
  background-position: calc(100% - 0.213333rem) calc(50% - 0.026667rem), calc(100% - 0.16rem) calc(50% - 0.026667rem);
  background-size: 0.08rem 0.08rem, 0.08rem 0.08rem;
  background-repeat: no-repeat;
}

.product-list-chip:hover,
.product-list-sort:hover {
  color: #775a19;
  border-color: #775a19;
}

.product-list-chip svg,
.product-list-sort svg {
  width: 0.16rem;
  height: 0.16rem;
}

.product-list-toolbar__label {
  margin-right: .1333rem;
  color: #4e4639;
  font-size: 0.16rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-list-sort {
  min-height: 0.32rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1c1b1b;
  font-size: 0.213333rem;
  font-weight: 500;
}

.product-list-grid {
  --bs-gutter-x: 0.32rem;
  --bs-gutter-y: 0.64rem;
  margin-bottom: 0.64rem;
}

.product-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-list-card__media {
  position: relative;
  margin-bottom: 0.24rem;
  overflow: hidden;
  border-radius: 0.053333rem;
  background: #f6f3f2;
  aspect-ratio: 3 / 4;
}

.product-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-list-card:hover .product-list-card__media img {
  transform: scale(1.05);
}

.product-list-card__badge {
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  padding: 0.053333rem 0.16rem;
  border-radius: 0.053333rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(0.106667rem);
  color: #1c1b1b;
  font-size: 0.16rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-list-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.product-list-card__title {
  margin: 0 0 0.08rem;
  color: #1a1a1a;
  font-size: 0.24rem;
  line-height: 1.4;
  font-weight: 600;
  transition: color 0.25s ease;
}

.product-list-card:hover .product-list-card__title {
  color: #c5a059;
}

.product-list-card__description {
  flex: 1 1 auto;
  margin: 0;
  color: #4d4d4d;
  font-size: 0.213333rem;
  line-height: 1.6;
}

.product-list-card__price {
  margin: 0.213333rem 0 0;
  color: #c5a059;
  font-size: 0.24rem;
  font-weight: 600;
}

.product-list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.213333rem;
  margin: 0.64rem 0 0.48rem;
  padding-bottom: 0.32rem;
}

.product-list-pagination__pages {
  display: flex;
  align-items: center;
  gap: 0.106667rem;
}

.product-list-pagination__arrow,
.product-list-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.533333rem;
  height: 0.533333rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4e4639;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.product-list-pagination__arrow:hover:not(:disabled),
.product-list-pagination__page:hover:not(.is-current) {
  background: #f0eded;
  color: #775a19;
}

.product-list-pagination__arrow:disabled {
  opacity: 0.3;
}

.product-list-pagination__arrow svg {
  width: 0.24rem;
  height: 0.24rem;
}

.product-list-pagination__page {
  font-size: 0.16rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.product-list-pagination__page.is-current {
  background: #c5a059;
  color: #4e3700;
}

.product-list-pagination__ellipsis {
  padding: 0 0.04rem;
  color: #4e4639;
}

.product-list-support {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  overflow: hidden;
  margin-top: 0.48rem;
  padding: 0.64rem;
  border-radius: 0.106667rem;
  background: #f6f3f2;
}

.product-list-support::before {
  content: "";
  position: absolute;
  top: -0.96rem;
  right: -0.96rem;
  width: 3.413333rem;
  height: 3.413333rem;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.2);
  filter: blur(0.64rem);
  transition: background-color 0.7s ease;
}

.product-list-support:hover::before {
  background: rgba(197, 160, 89, 0.3);
}

.product-list-support__copy,
.product-list-support__button {
  position: relative;
  z-index: 1;
}

.product-list-support__title {
  margin: 0 0 0.08rem;
  color: #1c1b1b;
  font-size: 0.426667rem;
  line-height: 1.2;
  font-weight: 700;
}

.product-list-support__text {
  margin: 0;
  color: #4e4639;
  font-size: 0.213333rem;
  line-height: 1.6;
}

.product-list-support__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0.48rem;
  padding: 0 0.32rem;
  border-radius: 0.053333rem;
  background: #c5a059;
  color: #4e3700;
  font-size: 0.186667rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0.106667rem 0.213333rem rgba(197, 160, 89, 0.2);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.product-list-support__button:hover {
  color: #4e3700;
  opacity: 0.92;
  transform: scale(1.02);
}

.tg-product-list .site-footer--news-detail {
  padding: 0.8rem 0 0.4rem;
  background: #f6f3f2;
}

.tg-product-list .site-footer__top {
  gap: 0.48rem;
}

.tg-product-list .site-footer__text,
.tg-product-list .site-footer__column a,
.tg-product-list .site-footer__bottom {
  color: #5f5e5e;
}

@media (max-width: 991.98px) {

  .tg-product-list .site-nav {
    top: 0.8rem;
    gap: .2667rem;
    padding: 0.24rem 0.48rem 0.32rem;
  }

  .product-list-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-list-toolbar__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .product-list-toolbar__sort {
    flex-wrap: wrap;
    gap: 0.12rem;
  }

  .product-list-support {
    flex-direction: column;
    align-items: flex-start;
  }

  .tg-product-list .site-footer__top {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .tg-product-list .tg-shell {
    width: min(calc(100% - 0.64rem), var(--tg-shell-max));
  }

  .tg-product-list .site-nav {
    top: 0.72rem;
    padding-right: 0.32rem;
    padding-left: 0.32rem;
  }

  .product-list-main {
    padding-bottom: 0.64rem;
  }

  .product-list-title {
    font-size: 0.56rem;
  }

  .product-list-description,
  .product-list-card__description,
  .product-list-support__text {
    font-size: 0.186667rem;
  }

  .product-list-toolbar {
    padding-right: 0.32rem;
    padding-left: 0.32rem;
  }

  .product-list-toolbar__filters,
  .product-list-toolbar__actions {
    width: 100%;
  }

  .product-list-toolbar__filters {
    flex-direction: column;
  }

  .product-list-chip,
  .product-list-sort {
    width: 100%;
    justify-content: space-between;
  }

  .product-list-chip--select {
    min-width: 0;
  }

  .product-list-support {
    padding: 0.4rem 0.32rem;
  }

  .product-list-support__title {
    font-size: 0.32rem;
  }

  .product-list-support__button {
    width: 100%;
  }

  .tg-product-list .site-footer__columns {
    grid-template-columns: 1fr;
  }

  .tg-product-list .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
