body.woocommerce-shop .c-page-header,
body.post-type-archive-product .c-page-header {
  display: none;
}

.htr-shop {
  --htr-burgundy: #782d37;
  --htr-copy: #505054;
  --htr-paper: #fffef8;
  --htr-line: #eadfdd;
  --htr-gutter: clamp(20px, 4.167vw, 60px);
  overflow: hidden;
  margin: 0;
  padding-bottom: 100px;
  color: var(--htr-copy);
  font-family: "Jost", sans-serif;
}

.htr-shop,
.htr-shop * {
  box-sizing: border-box;
}

.htr-shop button,
.htr-shop select,
.htr-shop input,
.htr-shop a,
.htr-shop h1,
.htr-shop h2,
.htr-shop span,
.htr-shop strong,
.htr-shop em {
  font-family: "Jost", sans-serif;
}

.htr-shop__topbar,
.htr-shop__meta {
  display: flex;
  align-items: center;
  padding-inline: var(--htr-gutter);
  border-bottom: 1px solid var(--htr-line);
}

.htr-shop__topbar {
  min-height: 59px;
}

.htr-shop__categories {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 39px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.htr-shop__categories::-webkit-scrollbar {
  display: none;
}

.htr-shop__categories button {
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--htr-copy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.htr-shop__categories button:hover,
.htr-shop__categories button.is-active {
  border-bottom-color: var(--htr-burgundy);
  color: var(--htr-burgundy);
}

.htr-shop__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 13px;
  margin-left: 24px;
}

.htr-shop__sort,
.htr-shop__filter {
  height: 32px;
  margin: 0;
  border: 1px solid #b77d83;
  border-radius: 0;
  background-color: transparent;
  color: var(--htr-copy);
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
}

.htr-shop__sort {
  width: 114px;
  padding: 0 31px 0 11px;
  background-position: right 10px center;
  cursor: pointer;
}

.htr-shop__filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 112px;
  padding: 0 10px 0 12px;
  cursor: pointer;
}

.htr-shop__filter i {
  margin: 0;
  font-size: 13px;
}

.htr-shop__meta {
  justify-content: space-between;
  min-height: 50px;
  border-bottom-color: #f1e9e6;
  font-size: 15px;
  font-weight: 400;
}

.htr-shop__breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
}

.htr-shop__breadcrumb a,
.htr-shop__breadcrumb span {
  color: #777075;
  text-decoration: none;
}

.htr-shop__count {
  color: var(--htr-burgundy);
}

.htr-shop__content {
  padding-inline: var(--htr-gutter);
}

.htr-shop h1 {
  margin: 26px 0 52px;
  color: var(--htr-burgundy);
  font-family: "Libre Caslon Text", serif !important;
  font-size: clamp(42px, 4.45vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
  text-align: center;
  text-transform: uppercase;
}

.htr-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 20px;
  transition: opacity 180ms ease;
}

.htr-shop__grid.is-loading {
  opacity: 0.42;
  pointer-events: none;
}

.htr-shop__card {
  min-width: 0;
  margin: 0;
}

.htr-shop__media {
  position: relative;
}

.htr-shop__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 427 / 540;
  background: #f4f4f4;
}

.htr-shop__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: opacity 280ms ease, transform 420ms ease;
}

.htr-shop__hover {
  opacity: 0;
}

.htr-shop__image.has-hover:hover .htr-shop__primary {
  opacity: 0;
  transform: scale(1.015);
}

.htr-shop__image.has-hover:hover .htr-shop__hover {
  opacity: 1;
  transform: scale(1.015);
}

.htr-shop__wishlist.c-wishlist__btn {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--htr-burgundy);
  box-shadow: none;
  cursor: pointer;
}

.htr-shop__wishlist.c-wishlist__btn:hover {
  background: #fff;
  color: var(--htr-burgundy);
  transform: scale(1.05);
}

.htr-shop__wishlist .c-wishlist__btn-icon {
  margin: 0;
  font-size: 22px;
}

.htr-shop__card h2 {
  margin: 16px 0 2px;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.htr-shop__card h2 a {
  color: var(--htr-copy);
  text-decoration: none;
}

.htr-shop__price,
.htr-shop__price .amount {
  color: var(--htr-burgundy);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.htr-shop__price ins {
  text-decoration: none;
}

.htr-shop__featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 122px;
}

.htr-shop__featured-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 710 / 850;
  background: #f4f4f4;
  color: var(--htr-copy);
  text-decoration: none;
}

.htr-shop__featured-card > img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 420ms ease;
}

.htr-shop__featured-card:hover > img {
  transform: scale(1.015);
}

.htr-shop__featured-details {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.htr-shop__featured-details strong {
  color: var(--htr-copy);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.htr-shop__featured-details em,
.htr-shop__featured-details .amount {
  color: var(--htr-burgundy);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
}

.htr-shop + .c-shop-sidebar {
  font-family: "Jost", sans-serif;
}

@media (max-width: 1024px) {
  .htr-shop__categories {
    gap: 24px;
  }

  .htr-shop__grid {
    gap: 25px 14px;
  }

  .htr-shop__card h2,
  .htr-shop__featured-details strong {
    font-size: 15px;
  }

  .htr-shop__price,
  .htr-shop__price .amount,
  .htr-shop__featured-details em,
  .htr-shop__featured-details .amount {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .htr-shop {
    --htr-gutter: 14px;
  }

  .htr-shop__topbar {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }

  .htr-shop__categories {
    order: 2;
    flex-basis: 100%;
  }

  .htr-shop__controls {
    order: 1;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .htr-shop__meta {
    min-height: 42px;
    font-size: 12px;
  }

  .htr-shop h1 {
    margin: 30px 0 32px;
    font-size: 37px;
  }

  .htr-shop__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }

  .htr-shop__wishlist.c-wishlist__btn {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .htr-shop__wishlist .c-wishlist__btn-icon {
    font-size: 17px;
  }

  .htr-shop__card h2 {
    margin-top: 9px;
    font-size: 12px;
  }

  .htr-shop__price,
  .htr-shop__price .amount {
    font-size: 14px;
  }

  .htr-shop__featured {
    gap: 6px;
    margin-top: 60px;
  }

  .htr-shop {
    padding-bottom: 50px;
  }

  .htr-shop__featured-details {
    top: 12px;
    left: 12px;
  }

  .htr-shop__featured-details strong {
    font-size: 12px;
  }

  .htr-shop__featured-details em,
  .htr-shop__featured-details .amount {
    font-size: 14px;
  }
}
