/* Shop — Figma Innerpages Shop. 64px gutters; banner stays full-bleed. */

.site-main--shop,
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
  background: #fff;
  color: #141414;
}

.shop-filters,
.shop-catalog {
  --shop-gutter: 64px;
}

/* Frame 4 — 1728×200, padding-top 64, gap 40. Inner counter 1600×136. */
.shop-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 64px var(--shop-gutter) 0;
  gap: 40px;
  background: #fff;
}

.shop-filters__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 136px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-filters__item {
  flex: 1 1 0;
  align-self: stretch;
  min-width: 0;
  margin: 0;
}

.shop-filters__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 136px;
  padding: 16px;
  background: rgba(229, 218, 205, 0.3);
  border: 0;
  color: #000;
  text-align: center;
}

.shop-filters__link:hover,
.shop-filters__link:focus {
  color: #000;
  background: rgba(229, 218, 205, 0.55);
}

.shop-filters__link.is-current {
  background: #e5dacd;
}

.shop-filters__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 64px;
  height: 64px;
}

.shop-filters__icon img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: none;
  object-fit: contain;
}

.shop-filters__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: #000;
}

/* Product list — 1728×960, padding 80×64, inner 1600×800 gap 40. */
.shop-catalog {
  display: block;
  width: 100%;
  padding: 80px var(--shop-gutter);
  background: #fff;
}

.shop-catalog .woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce .shop-catalog .shop-grid,
.woocommerce-page .shop-catalog .shop-grid,
.woocommerce .shop-catalog ul.products,
.woocommerce-page .shop-catalog ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: none;
}

/* WC clearfix ::before/::after become extra grid cells and shift row 1. */
.woocommerce .shop-catalog ul.products::before,
.woocommerce .shop-catalog ul.products::after,
.woocommerce-page .shop-catalog ul.products::before,
.woocommerce-page .shop-catalog ul.products::after,
.woocommerce .shop-catalog .products::before,
.woocommerce .shop-catalog .products::after {
  content: none;
  display: none;
}

.woocommerce .shop-catalog .shop-grid__item,
.woocommerce-page .shop-catalog .shop-grid__item,
.woocommerce .shop-catalog ul.products li.product,
.woocommerce-page .shop-catalog ul.products li.product,
.woocommerce .shop-catalog ul.products li.product.first,
.woocommerce-page .shop-catalog ul.products li.product.first,
.woocommerce .shop-catalog ul.products li.product.last,
.woocommerce-page .shop-catalog ul.products li.product.last {
  float: none;
  clear: none;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.product-card__media {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  flex: none;
}

.product-card__photo {
  position: absolute;
  inset: 0;
  display: block;
}

.woocommerce .shop-catalog .product-card__photo img,
.woocommerce-page .shop-catalog .product-card__photo img,
.woocommerce ul.products li.product .product-card__photo img,
.product-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.woocommerce .shop-catalog a.product-card__atc,
.woocommerce-page .shop-catalog a.product-card__atc,
.product-card__atc {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 16px 14px !important;
  gap: 10px;
  overflow: visible;
  background: #a78359 !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  color: #fff !important;
  line-height: 0;
  text-decoration: none;
}

.woocommerce .shop-catalog a.product-card__atc:hover,
.woocommerce .shop-catalog a.product-card__atc:focus,
.woocommerce .shop-catalog a.product-card__atc:focus-visible,
.product-card__atc:hover,
.product-card__atc:focus,
.product-card__atc:focus-visible {
  background: #8a6c3e !important;
  color: #fff !important;
}

.woocommerce .shop-catalog a.product-card__atc::before,
.woocommerce .shop-catalog a.product-card__atc::after,
.product-card__atc::before,
.product-card__atc::after {
  content: none;
  display: none;
}

.product-card__bag {
  position: relative;
  flex: none;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.woocommerce .shop-catalog .product-card__atc img,
.product-card__atc img,
.product-card__bag img {
  display: block;
  width: 24px;
  height: 24px;
  max-width: none;
}

.product-card__atc.loading {
  opacity: 0.7;
}

.product-card__atc.added {
  background: #6f5a3d;
}

.shop-catalog .added_to_cart {
  display: none;
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.product-card__name {
  display: -webkit-box;
  align-items: center;
  width: 100%;
  min-height: 48px;
  overflow: hidden;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-card__name:hover,
.product-card__name:focus {
  color: #a78359;
}

.product-card__price {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 21px;
  line-height: 16px;
  color: #a78359;
}

.product-card__price del {
  margin-right: 0.35em;
  opacity: 0.5;
}

.product-card__price .woocommerce-Price-amount {
  font-weight: 400;
  color: #a78359;
}

.product-card__ea {
  color: #a78359;
}

.woocommerce .shop-catalog .woocommerce-message,
.woocommerce-page .shop-catalog .woocommerce-message,
.shop-catalog .woocommerce-message,
.woocommerce .shop-catalog .woocommerce-info,
.woocommerce-page .shop-catalog .woocommerce-info,
.shop-catalog .woocommerce-info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 40rem;
  margin: 0;
  padding: 8px 0 24px;
  background: transparent;
  border: 0;
  border-top: 0;
  color: #3d2e1e;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.woocommerce .shop-catalog .woocommerce-message::before,
.woocommerce-page .shop-catalog .woocommerce-message::before,
.shop-catalog .woocommerce-message::before,
.woocommerce .shop-catalog .woocommerce-info::before,
.woocommerce-page .shop-catalog .woocommerce-info::before,
.shop-catalog .woocommerce-info::before {
  position: static;
  top: auto;
  left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.5em;
  margin: 0;
  font-size: 1.1em;
  line-height: 1;
  color: #a78359;
}

.woocommerce .shop-catalog .woocommerce-info::after,
.shop-catalog .woocommerce-info::after {
  display: none;
  content: none;
}

@media (max-width: 1023px) {
  .shop-filters__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    min-height: 0;
  }

  .woocommerce .shop-catalog .shop-grid,
  .woocommerce-page .shop-catalog .shop-grid,
  .woocommerce .shop-catalog ul.products,
  .woocommerce-page .shop-catalog ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

@media (max-width: 767px) {
  .shop-filters,
  .shop-catalog {
    --shop-gutter: 1.25rem;
  }

  .shop-filters {
    padding-top: 1.25rem;
    gap: 24px;
  }

  .shop-filters__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: auto;
    min-height: 0;
  }

  .shop-filters__link {
    min-height: 112px;
    padding: 12px 8px;
    gap: 8px;
  }

  .shop-filters__icon,
  .shop-filters__icon img {
    width: 48px;
    height: 48px;
  }

  .shop-filters__label {
    font-size: 12px;
    line-height: 16px;
  }

  .shop-catalog {
    padding: 2.5rem var(--shop-gutter);
    gap: 32px;
  }

  .woocommerce .shop-catalog .woocommerce-info,
  .shop-catalog .woocommerce-info {
    font-size: 15px;
    gap: 10px;
  }

  .woocommerce .shop-catalog .shop-grid,
  .woocommerce-page .shop-catalog .shop-grid,
  .woocommerce .shop-catalog ul.products,
  .woocommerce-page .shop-catalog ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .product-card__name {
    min-height: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .product-card__price {
    font-size: 16px;
  }
}
