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

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

.product-search-main {
  padding-top: 0.64rem;
  padding-bottom: 0.96rem;
}

.product-search-hero {
  max-width: 8.8rem;
  margin-bottom: 0.64rem;
}

.product-search-title {
  margin: 0 0 0.16rem;
  color: #1c1b1b;
  font-size: 0.693333rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-search-description {
  max-width: 7.04rem;
  margin: 0 0 0.56rem;
  color: #4e4639;
  font-size: 0.213333rem;
  line-height: 1.6;
}

.product-search-form {
  position: relative;
  max-width: 7.68rem;
}

.product-search-form input {
  width: 100%;
  min-height: 0.72rem;
  padding: 0.12rem 0.64rem 0.12rem 0;
  border: 0;
  border-bottom: 1px solid rgba(209, 197, 180, 0.9);
  border-radius: 0;
  background: transparent;
  color: #1c1b1b;
  font-size: 0.32rem;
  line-height: 1.3;
  font-weight: 700;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-search-form input:focus {
  border-color: #775a19;
  box-shadow: 0 0.026667rem 0 #775a19;
}

.product-search-form button {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.48rem;
  height: 0.48rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4e4639;
  transform: translateY(-50%);
  transition: color 0.25s ease;
}

.product-search-form button:hover {
  color: #775a19;
}

.product-search-form button svg,
.product-search-empty__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.product-search-toolbar__count {
  color: #4e4639;
  font-size: 0.186667rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-search-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.32rem;
}

.product-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.08rem;
}

.product-search-chip {
  min-height: 0.426667rem;
  padding: 0 0.213333rem;
  border: 1px solid rgba(127, 118, 103, 0.45);
  border-radius: 0.053333rem;
  background: transparent;
  color: #1c1b1b;
  font-size: 0.16rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.product-search-chip:hover {
  color: #775a19;
  border-color: #775a19;
}

.product-search-sort {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin: 0;
  color: #1c1b1b;
  font-size: 0.186667rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-search-sort select {
  min-height: 0.4rem;
  padding: 0 0.32rem 0 0;
  border: 0;
  border-bottom: 1px solid rgba(127, 118, 103, 0.45);
  border-radius: 0;
  background: transparent;
  color: #1c1b1b;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
}

.product-search-sort select:focus {
  border-color: #775a19;
}

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

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

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

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

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

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

.product-search-card__title {
  margin: 0 0 0.08rem;
  color: #1c1b1b;
  font-size: 0.24rem;
  line-height: 1.35;
  font-weight: 800;
  transition: color 0.25s ease;
}

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

.product-search-card__description {
  flex: 1 1 auto;
  margin: 0 0 0.213333rem;
  color: #4e4639;
  font-size: 0.186667rem;
  line-height: 1.55;
}

.product-search-card__price {
  margin: 0;
  color: #c5a059;
  font-size: 0.213333rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.96rem 0.426667rem;
  border-radius: 0.08rem;
  background: #f6f3f2;
  text-align: center;
}

.product-search-empty__icon {
  display: inline-flex;
  width: 0.64rem;
  height: 0.64rem;
  margin-bottom: 0.32rem;
  color: #7f7667;
}

.product-search-empty h2 {
  max-width: 7.466667rem;
  margin: 0 0 0.16rem;
  color: #1c1b1b;
  font-size: 0.48rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-search-empty p {
  max-width: 5.866667rem;
  margin: 0 0 0.32rem;
  color: #4e4639;
  font-size: 0.213333rem;
  line-height: 1.6;
}

.product-search-empty__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0.64rem;
  padding: 0 0.426667rem;
  border-radius: 0.053333rem;
  background: linear-gradient(135deg, #775a19 0%, #c5a059 100%);
  color: #ffffff;
  font-size: 0.186667rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.product-search-empty__button:hover {
  color: #ffffff;
  opacity: 0.92;
  transform: translateY(-0.026667rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

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

@media (max-width: 991.98px) {

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

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

  .product-search-toolbar__controls {
    justify-content: flex-start;
  }

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

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

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

  .product-search-main {
    padding-top: 0.4rem;
    padding-bottom: 0.72rem;
  }

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

  .product-search-description,
  .product-search-empty p {
    font-size: 0.186667rem;
  }

  .product-search-form input {
    font-size: 0.266667rem;
  }

  .product-search-toolbar__controls,
  .product-search-chips,
  .product-search-sort,
  .product-search-sort select {
    width: 100%;
  }

  .product-search-sort {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-search-chip {
    flex: 1 1 auto;
  }

  .product-search-empty {
    padding: 0.64rem 0.32rem;
  }

  .product-search-empty h2 {
    font-size: 0.373333rem;
  }

  .product-search-empty__button {
    width: 100%;
  }

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

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