/* WooCommerce catalog and product-category pages. */
.tgh-catalog-page {
  background: var(--tgh-color-surface-subtle) !important;
}

.tgh-catalog-main {
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 88% 6%, rgba(200, 169, 107, .12), transparent 24rem),
    linear-gradient(180deg, #f2ede4 0, var(--tgh-color-surface-subtle) 32rem);
}

.tgh-catalog-hero {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 238px;
  margin: 6px 0 25px;
  padding: clamp(30px, 5vw, 56px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 5%, rgba(200, 169, 107, .24), transparent 17rem),
    linear-gradient(125deg, #211f1b, #493a25 72%, #6a542d);
  box-shadow: 0 24px 54px rgba(43, 34, 21, .16);
  color: var(--tgh-color-surface);
}

.tgh-catalog-hero::after {
  position: absolute;
  right: -76px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: "";
}

.tgh-catalog-hero > div {
  position: relative;
  z-index: 1;
}

.tgh-catalog-hero .tgh-product-eyebrow {
  margin-bottom: 13px;
  color: #e1c781;
}

.tgh-catalog-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--tgh-color-surface);
  font-family: var(--tgh-display);
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -.045em;
  line-height: .98;
}

.tgh-catalog-hero__description {
  max-width: 680px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.65;
}

.tgh-catalog-hero__count {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 118px;
  min-height: 118px;
  flex: 0 0 auto;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .1);
  text-align: center;
}

.tgh-catalog-hero__count strong {
  color: #e1c781;
  font-family: var(--tgh-display);
  font-size: 40px;
  line-height: 1;
}

.tgh-catalog-hero__count span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

.tgh-catalog-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tgh-catalog-nav__label {
  flex: 0 0 auto;
  margin-right: 3px;
  color: var(--tgh-color-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tgh-catalog-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid var(--tgh-color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--tgh-color-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.tgh-catalog-nav a:hover,
.tgh-catalog-nav a.is-current {
  border-color: var(--tgh-color-brand);
  background: var(--tgh-color-brand);
  color: var(--tgh-color-surface);
}

.tgh-catalog-filters {
  margin: 0 0 26px;
  padding: 20px;
  border: 1px solid rgba(46, 42, 35, .1);
  border-radius: 18px;
  background: rgba(255, 253, 249, .9);
  box-shadow: 0 12px 28px rgba(43, 34, 21, .05);
}

.tgh-catalog-filters__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.tgh-catalog-filters__heading p {
  margin: 0 0 3px;
  color: var(--tgh-color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tgh-catalog-filters__heading h2 {
  margin: 0;
  color: var(--tgh-color-text);
  font-family: var(--tgh-display);
  font-size: 24px;
  letter-spacing: -.025em;
}

.tgh-catalog-filters__heading a {
  color: var(--tgh-color-brand);
  font-size: 13px;
  font-weight: 800;
}

.tgh-catalog-filters__fields {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) repeat(2, minmax(160px, .85fr)) auto auto;
  align-items: end;
  gap: 12px;
}

.tgh-catalog-filters__fields label > span {
  display: block;
  margin-bottom: 7px;
  color: #5f574d;
  font-size: 13px;
  font-weight: 800;
}

.tgh-catalog-filters input[type="search"],
.tgh-catalog-filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--tgh-color-border);
  border-radius: 10px;
  background: var(--tgh-color-surface);
  color: var(--tgh-color-text);
  font: 700 13px/1.2 var(--tgh-body);
}

.tgh-catalog-filters__check {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--tgh-color-border);
  border-radius: 10px;
  background: var(--tgh-color-surface);
  cursor: pointer;
}

.tgh-catalog-filters__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--tgh-color-brand);
}

.tgh-catalog-filters__check span {
  margin: 0 !important;
  white-space: nowrap;
}

.tgh-catalog-filters button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--tgh-color-brand);
  color: var(--tgh-color-surface);
  font: 800 13px/1 var(--tgh-body);
  cursor: pointer;
}

.tgh-catalog-results {
  min-width: 0;
}

.tgh-catalog-results .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

.tgh-catalog-results .woocommerce-result-count {
  margin: 0 0 22px;
  color: var(--tgh-color-muted);
  font-size: 14px;
  font-weight: 700;
}

.tgh-catalog-results .woocommerce-ordering {
  float: none;
  margin: 0 0 22px;
}

.tgh-catalog-results .woocommerce-ordering select {
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--tgh-color-border);
  border-radius: 11px;
  background: var(--tgh-color-surface);
  color: var(--tgh-color-text);
  font: 700 13px/1.2 var(--tgh-body);
}

.tgh-catalog-results .woocommerce-ordering::after {
  display: none;
}

.tgh-catalog-results ul.products {
  display: grid;
  clear: both;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.tgh-catalog-results ul.products::before,
.tgh-catalog-results ul.products::after {
  display: none;
}

.tgh-catalog-results ul.products li.product {
  display: flex;
  width: auto !important;
  min-width: 0;
  flex-direction: column;
  margin: 0 !important;
  padding: 12px 12px 15px;
  border: 1px solid rgba(46, 42, 35, .1);
  border-radius: 18px;
  background: var(--tgh-color-surface);
  box-shadow: 0 12px 30px rgba(43, 34, 21, .06);
  transition: box-shadow .2s ease, transform .2s ease;
}

.tgh-catalog-results ul.products li.product:hover {
  box-shadow: 0 19px 38px rgba(43, 34, 21, .12);
  transform: translateY(-3px);
}

.tgh-catalog-results ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.tgh-catalog-results ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 14px !important;
  border: 1px solid rgba(46, 42, 35, .07);
  border-radius: 13px;
  background: var(--tgh-color-surface-subtle);
  object-fit: contain;
}

.tgh-catalog-results ul.products li.product .woocommerce-loop-product__title {
  min-height: 44px;
  margin: 0 2px 8px;
  color: var(--tgh-color-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.tgh-catalog-results ul.products li.product .price {
  min-height: 23px;
  margin: auto 2px 14px;
  color: var(--tgh-color-primary);
  font-size: 16px;
  font-weight: 900;
}

.tgh-catalog-results ul.products li.product .button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 !important;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--tgh-color-primary) !important;
  box-shadow: 0 7px 18px rgba(98, 73, 31, .14);
  color: var(--tgh-color-surface);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.tgh-catalog-results ul.products li.product .button:hover {
  background: var(--tgh-color-primary-hover) !important;
  color: var(--tgh-color-surface);
}

.tgh-catalog-results ul.products li.product a.added_to_cart {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 10px !important;
  border: 1px solid var(--tgh-color-border);
  border-radius: 10px;
  box-sizing: border-box;
  color: var(--tgh-color-brand);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.tgh-catalog-results ul.products li.product a.added_to_cart:hover {
  border-color: var(--tgh-color-brand);
  background: rgba(95, 74, 40, .06);
}

.tgh-catalog-results .woocommerce-pagination {
  clear: both;
  margin-top: 34px;
  text-align: center;
}

.tgh-catalog-results .woocommerce-pagination ul {
  display: inline-flex;
  gap: 7px;
  border: 0;
}

.tgh-catalog-results .woocommerce-pagination ul li {
  border: 0;
}

.tgh-catalog-results .woocommerce-pagination a,
.tgh-catalog-results .woocommerce-pagination span {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--tgh-color-border) !important;
  border-radius: 10px;
  background: var(--tgh-color-surface);
  color: var(--tgh-color-text) !important;
  font-size: 13px;
  font-weight: 800;
}

.tgh-catalog-results .woocommerce-pagination .current,
.tgh-catalog-results .woocommerce-pagination a:hover {
  border-color: var(--tgh-color-brand) !important;
  background: var(--tgh-color-brand);
  color: var(--tgh-color-surface) !important;
}

@media (min-width: 761px) {
  .tgh-catalog-results .woocommerce-result-count,
  .tgh-catalog-results .woocommerce-ordering {
    display: inline-block;
    vertical-align: middle;
  }

  .tgh-catalog-results .woocommerce-ordering {
    float: right;
  }
}

@media (max-width: 1020px) {
	.tgh-catalog-filters__fields {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	}

  .tgh-catalog-results ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .tgh-catalog-nav,
  .tgh-catalog-page .tgh-recent-products__grid {
    contain: layout paint;
    overscroll-behavior-inline: contain;
  }

  .tgh-catalog-page .tgh-brand span {
    display: none;
  }

  .tgh-catalog-hero {
    align-items: start;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    margin-top: 0;
    padding: 27px 22px 23px;
    border-radius: 21px;
  }

  .tgh-catalog-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .tgh-catalog-hero__description {
    margin-top: 13px;
    font-size: 14px;
  }

  .tgh-catalog-hero__count {
    min-width: 0;
    min-height: 0;
    grid-template-columns: auto auto;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 11px;
  }

  .tgh-catalog-hero__count strong {
    font-size: 26px;
  }

  .tgh-catalog-hero__count span {
    align-self: center;
    margin-top: 0;
  }

  .tgh-catalog-nav {
    margin-bottom: 21px;
    padding-bottom: 3px;
  }

  .tgh-catalog-filters {
    margin-bottom: 20px;
    padding: 18px 16px 16px;
    border-radius: 15px;
  }

  .tgh-catalog-filters__heading {
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
  }

  .tgh-catalog-filters__heading p {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .tgh-catalog-filters__heading h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .tgh-catalog-filters__heading a {
    font-size: 14px;
    white-space: nowrap;
  }

  .tgh-catalog-filters__fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .tgh-catalog-filters--selects-2 .tgh-catalog-filters__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tgh-catalog-filters__fields > label:first-of-type,
  .tgh-catalog-filters__fields > .tgh-catalog-filters__check,
  .tgh-catalog-filters__fields > button {
    grid-column: 1 / -1;
  }

  .tgh-catalog-filters__fields label > span {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .tgh-catalog-filters input[type="search"],
  .tgh-catalog-filters select {
    min-height: 48px;
    padding-inline: 14px;
    font-size: 15px;
  }

  .tgh-catalog-filters__check {
    min-height: 50px;
    gap: 10px;
    padding-inline: 13px;
  }

  .tgh-catalog-filters__check input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .tgh-catalog-filters__check span {
    white-space: normal;
    font-size: 14px;
    line-height: 1.35;
  }

  .tgh-catalog-filters button {
    min-height: 48px;
    font-size: 15px;
  }

  .tgh-catalog-nav__label {
    font-size: 13px;
  }

  .tgh-catalog-results .woocommerce-result-count {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .tgh-catalog-results .woocommerce-ordering {
    float: none;
    margin-bottom: 18px;
  }

  .tgh-catalog-results .woocommerce-ordering select {
    width: 100%;
  }

  .tgh-catalog-results ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tgh-catalog-results ul.products li.product {
    padding: 8px 8px 11px;
    border-radius: 14px;
  }

  .tgh-catalog-results ul.products li.product a img {
    margin-bottom: 10px !important;
    border-radius: 10px;
  }

  .tgh-catalog-results ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.35;
  }

  .tgh-catalog-results ul.products li.product .price {
    min-height: 0;
    margin-bottom: 10px;
    font-size: 15px;
  }

  .tgh-catalog-results ul.products li.product .button {
    min-height: 42px;
    border-radius: 9px;
    font-size: 13px;
  }

  .tgh-catalog-results ul.products li.product a.added_to_cart {
    min-height: 42px;
    font-size: 13px;
  }
}
