/* The same quiet product card on shop, product taxonomies, and PDP recommendations. */
body.woocommerce.archive .woocommerce-main .content-container {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

body.woocommerce.archive .woocommerce-main {
  min-width: 0;
  padding: 30px 0 64px;
}

body.woocommerce.archive .woocommerce-main .page-title {
  margin: 0 0 22px;
  color: #1c2621;
  font-family: var(--silk-serif);
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.22;
}

body.woocommerce.archive .woocommerce-result-count {
  float: left;
  margin: 0;
  color: #747973;
  font-size: 12px;
  line-height: 40px;
}

body.woocommerce.archive .woocommerce-ordering {
  float: right;
  margin: 0;
}

body.woocommerce.archive .woocommerce-ordering select {
  width: min(100%, 220px);
  height: 40px;
  border: 1px solid #dfdfd9;
  border-radius: 6px;
  padding: 0 34px 0 12px;
  background: #fff;
  color: #303a34;
  font-size: 12px;
}

body.woocommerce.archive .woocommerce-pagination {
  margin-top: 35px;
}

body.woocommerce .woocommerce-main ul.products {
  display: grid;
  clear: both;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 34px 20px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
}

body.woocommerce .woocommerce-main ul.products::before,
body.woocommerce .woocommerce-main ul.products::after {
  display: none;
}

body.woocommerce .woocommerce-main ul.products li.product {
  position: relative;
  display: flex;
  float: none;
  flex-direction: column;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce .woocommerce-main ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

body.woocommerce .woocommerce-main ul.products li.product a.woocommerce-LoopProduct-link > img {
  display: block;
  order: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0 0 11px;
  border-radius: 6px;
  background: #eee8e3;
  object-fit: cover;
  object-position: center top;
}

body.woocommerce .woocommerce-main ul.products li.product .onsale {
  top: 10px;
  right: auto;
  left: 10px;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border-radius: 3px;
  padding: 6px 9px;
  background: #254839;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.woocommerce .woocommerce-main ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  order: 1;
  min-height: 39px;
  max-height: 39px;
  overflow: hidden;
  margin: 0 0 5px;
  padding: 0;
  color: #25302a;
  font-family: var(--silk-sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.woocommerce .woocommerce-main ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title {
  color: var(--silk-green);
}

body.woocommerce .woocommerce-main ul.products li.product .price {
  display: flex;
  order: 2;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 20px;
  margin: 0;
  color: #223e31;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

body.woocommerce .woocommerce-main ul.products li.product .price del {
  color: #949b94;
  font-size: 11px;
  font-weight: 400;
  opacity: 1;
}

body.woocommerce .woocommerce-main ul.products li.product .price ins {
  color: #223e31;
  text-decoration: none;
}

body.woocommerce .woocommerce-main ul.products li.product .star-rating {
  order: 3;
  margin: 6px 0 0;
  color: #bc8946;
  font-size: 12px;
}

body.woocommerce .woocommerce-main ul.products li.product .star-rating::before {
  color: #d9d4cd;
}

body.woocommerce .woocommerce-main ul.products li.product .scui-card-swatches {
  order: 4;
  min-height: 18px;
  gap: 6px;
  margin: auto 0 11px;
  padding-top: 9px;
}

body.woocommerce .woocommerce-main ul.products li.product .scui-card-swatch:not(.scui-card-swatch--label) {
  width: 15px;
  height: 15px;
  border-color: rgba(35, 52, 43, .28);
  box-shadow: inset 0 0 0 2px #fff;
}

body.woocommerce .woocommerce-main ul.products li.product .scui-card-swatches__more {
  margin-left: 1px;
  color: #616c63;
  font-size: 10px;
  font-weight: 500;
}

body.woocommerce .woocommerce-main ul.products li.product a.button {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0;
  border: 1px solid #a8bdb0;
  border-radius: 5px;
  padding: 8px 13px;
  background: #fff;
  box-shadow: none;
  color: #29483a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.woocommerce .woocommerce-main ul.products li.product a.button:hover,
body.woocommerce .woocommerce-main ul.products li.product a.button:focus-visible {
  border-color: #29483a;
  background: #29483a;
  color: #fff;
}

body.woocommerce .woocommerce-main ul.products li.product a.button:focus-visible {
  outline: 2px solid #29483a;
  outline-offset: 2px;
}

body.woocommerce .woocommerce-main ul.products li.product a.added_to_cart {
  margin-top: 8px;
  color: #29483a;
  font-size: 11px;
}

.silkco-pdp .related > h2,
.silkco-pdp .up-sells > h2 {
  margin: 0;
  color: #1c2621;
  font-size: clamp(27px, 2.5vw, 32px);
  letter-spacing: -.045em;
  line-height: 1.2;
}

@media (max-width: 900px) {
  body.woocommerce .woocommerce-main ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 16px;
  }
}

@media (max-width: 700px) {
  body.woocommerce.archive .woocommerce-main .content-container {
    width: calc(100% - 32px);
  }

  body.woocommerce.archive .woocommerce-main {
    padding: 22px 0 46px;
  }

  body.woocommerce.archive .woocommerce-main .page-title {
    margin-bottom: 18px;
    font-size: 29px;
  }

  body.woocommerce.archive .woocommerce-result-count {
    float: none;
    line-height: 1.4;
  }

  body.woocommerce.archive .woocommerce-ordering {
    float: none;
    margin: 12px 0 0;
  }

  body.woocommerce.archive .woocommerce-ordering select {
    width: 100%;
    max-width: none;
  }

  body.woocommerce.archive .back-to-top {
    display: none;
  }

  body.woocommerce .woocommerce-main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
    padding-top: 18px;
  }

  body.woocommerce .woocommerce-main ul.products li.product a.woocommerce-LoopProduct-link > img {
    margin-bottom: 9px;
  }

  body.woocommerce .woocommerce-main ul.products li.product .woocommerce-loop-product__title {
    min-height: 37px;
    max-height: 37px;
    font-size: 12px;
    line-height: 1.5;
  }

  body.woocommerce .woocommerce-main ul.products li.product .price {
    font-size: 13px;
  }

  body.woocommerce .woocommerce-main ul.products li.product .onsale {
    top: 7px;
    left: 7px;
    padding: 5px 7px;
    font-size: 9px;
  }

  body.woocommerce .woocommerce-main ul.products li.product a.button {
    min-height: 34px;
    padding-inline: 11px;
  }
}
