.site-content {
  background: #F2F2F2;
  padding-top: 24px;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  outline: none !important;
  background: #f8d8df !important;
  color: var(--theme-primary-base) !important;
}
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button,
.woocommerce-noreviews a.button,
p.no-comments a.button {
  color: var(--theme-primary-base) !important;
  border-left-color: var(--theme-primary-base) !important;
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover,
.woocommerce-noreviews a.button:hover,
p.no-comments a.button:hover {
  opacity: 0.9 !important;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-noreviews::before,
p.no-comments::before {
  color: var(--theme-primary-base) !important;
}
.site {
  overflow: hidden;
}
body.search-no-results .custom-products-container .side-bar {
  display: none;
}
.tinv-modal-inner {
  position: relative;
  font-size: 14px;
  font-weight: 300;
}
.tinv-modal-inner .tinv-txt + .tinv-wishlist-clear {
  top: 12px;
  right: 12px;
  position: absolute;
  width: auto;
  background: transparent;
  margin: 0;
}
.tinv-modal-inner .tinv-txt + .tinv-wishlist-clear .tinvwl_button_close {
  background: transparent;
  font-size: 0;
  outline: none;
  cursor: pointer;
}
.tinv-modal-inner .tinv-txt + .tinv-wishlist-clear .tinvwl_button_close::before {
  content: '';
  display: block;
  background: url(../images/close.svg) no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}
.tinv-modal-inner .tinv-txt + .tinv-wishlist-clear .tinvwl_button_close i {
  display: none;
}
.content-area {
  margin-bottom: 0;
}
.wc-block-components-product-metadata__description {
  display: none;
}
.storefront-breadcrumb {
  margin: 0 !important;
  background: #F2F2F2 !important;
  padding: 0 !important;
  padding-top: 15px !important;
}
.storefront-breadcrumb .woocommerce-breadcrumb a:first-of-type::before {
  display: none;
}
.storefront-breadcrumb a,
.storefront-breadcrumb span,
.storefront-breadcrumb nav {
  color: var(--theme-primary-base) !important;
  text-decoration: initial !important;
  font-weight: 300 !important;
  font-size: 12px !important;
}
.storefront-breadcrumb .breadcrumb-separator {
  text-indent: initial !important;
}
.storefront-breadcrumb .breadcrumb-separator:after {
  display: none !important;
}
.storefront-breadcrumb a:hover {
  text-decoration: underline !important;
}
.hentry .entry-content figure.wp-block-image,
.editor-styles-wrapper figure.wp-block-image {
  margin-bottom: 0;
}
.wp-block-image a {
  display: block;
}
.wp-block-image a:hover {
  opacity: 0.9;
}
.alignwide {
  max-width: 1500px !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
  margin: auto !important;
}
.page-template-template-homepage .entry-header {
  display: none;
}
.page-template-template-homepage .site-main {
  padding-top: 0 !important;
}
.page-template-template-homepage .entry-content {
  max-width: 100%;
}
.page-template-template-homepage .type-page {
  padding: 0;
  margin: 0;
}
.page-template-template-homepage .type-page > .col-full {
  padding: 0;
}
.page-template-template-homepage .storefront-product-section {
  margin-top: 40px;
  padding: 0 50px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.page-template-template-homepage .site-content {
  padding-top: 0;
}
.page-template-template-homepage .site-content > .col-full {
  padding: 0;
}
.page-template-template-homepage .section-title {
  font-family: BlackerProDisplayLight;
  color: #5C3C30;
  font-size: 30px;
  text-align: left !important;
}
.page-template-template-homepage .storefront-product-categories {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.page-template-template-homepage .storefront-product-categories br {
  display: none;
}
.page-template-template-homepage .storefront-product-categories .products {
  display: flex;
}
.page-template-template-homepage .storefront-product-categories .products .product {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  float: none !important;
  width: 10% !important;
  box-sizing: content-box;
}
.page-template-template-homepage .storefront-product-categories .products .product + .product {
  padding-left: 10px;
}
.page-template-template-homepage .storefront-product-categories .products .product:nth-of-type(11),
.page-template-template-homepage .storefront-product-categories .products .product:nth-of-type(12) {
  display: none;
}
.page-template-template-homepage .storefront-product-categories .products .product a {
  position: relative;
  padding-bottom: 100%;
  height: 0 !important;
  display: block;
}
.page-template-template-homepage .storefront-product-categories .products .product a:hover img {
  opacity: 0.8;
}
.page-template-template-homepage .storefront-product-categories .products .product img {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  margin-bottom: 24px;
}
.page-template-template-homepage .storefront-product-categories .products .product .woocommerce-loop-category__title {
  position: absolute;
  width: 100%;
  height: 30px;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 0);
  color: #5C3C30;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-template-template-homepage .storefront-product-categories .products .product .count {
  display: none;
}
.page-template-template-homepage .home-banner {
  margin-top: 80px !important;
}
.page-template-template-homepage .home-banner a:hover {
  opacity: 0.9;
}
.page-template-template-homepage .storefront-color-terms .attribute-terms-list {
  padding: 30px 100px 20px 100px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 70px;
}
.page-template-template-homepage .storefront-color-terms .attribute-term-link a:hover {
  opacity: 0.9;
}
.page-template-template-homepage .storefront-color-terms .attribute-term-name {
  font-weight: 400;
  font-size: 12px;
  color: #5C3C30;
  padding: 10px 0px 0px 0px;
  line-height: 140%;
  text-align: center;
  text-decoration: none;
}
.page-template-template-homepage .two-banner a:hover {
  opacity: 0.9;
}
.page-template-template-homepage .wp-block-group {
  margin-top: 40px !important;
}
.page-template-template-homepage .wp-block-group .wp-block-heading {
  font-family: BlackerProDisplayLight;
  color: #5C3C30;
  font-size: 30px;
  text-align: left !important;
}
@media (max-width: 768px) {
  .alignwide {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin: auto !important;
  }
  .page-template-template-homepage .entry-header {
    display: none;
  }
  .page-template-template-homepage .site-main {
    padding-top: 0 !important;
  }
  .page-template-template-homepage .entry-content {
    max-width: 100%;
  }
  .page-template-template-homepage .type-page {
    padding: 0;
    margin: 0;
  }
  .page-template-template-homepage .type-page > .col-full {
    padding: 0;
  }
  .page-template-template-homepage .storefront-product-section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  .page-template-template-homepage .site-content {
    padding-top: 0;
  }
  .page-template-template-homepage .site-content > .col-full {
    padding: 0;
  }
  .page-template-template-homepage .section-title {
    font-family: BlackerProDisplayLight;
    color: #5C3C30;
    font-size: 30px;
    text-align: left !important;
  }
  .page-template-template-homepage .storefront-product-categories {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
  }
  .page-template-template-homepage .storefront-product-categories .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 40px;
    column-gap: 10px;
    /* 可选：设置间距 */
  }
  .page-template-template-homepage .storefront-product-categories .products::before {
    display: none;
  }
  .page-template-template-homepage .storefront-product-categories .products .product {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
    width: 100% !important;
    box-sizing: content-box;
  }
  .page-template-template-homepage .storefront-product-categories .products .product + .product {
    padding-left: 0;
  }
  .page-template-template-homepage .storefront-product-categories .products .product:nth-of-type(11),
  .page-template-template-homepage .storefront-product-categories .products .product:nth-of-type(12) {
    display: none;
  }
  .page-template-template-homepage .storefront-product-categories .products .product a {
    position: relative;
    padding-bottom: 100%;
    height: 0 !important;
    display: block;
  }
  .page-template-template-homepage .storefront-product-categories .products .product a:hover img {
    opacity: 0.8;
  }
  .page-template-template-homepage .storefront-product-categories .products .product img {
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    margin-bottom: 24px;
  }
  .page-template-template-homepage .storefront-product-categories .products .product .woocommerce-loop-category__title {
    position: absolute;
    width: 100%;
    height: 30px;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 0);
    color: #5C3C30;
    font-size: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .page-template-template-homepage .storefront-product-categories .products .product .count {
    display: none;
  }
  .page-template-template-homepage .home-banner {
    margin-top: 50px !important;
  }
  .page-template-template-homepage .home-banner a:hover {
    opacity: 0.9;
  }
  .page-template-template-homepage .storefront-color-terms .attribute-terms-list {
    padding: 0 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .page-template-template-homepage .storefront-color-terms .attribute-term-link a:hover {
    opacity: 0.9;
  }
  .page-template-template-homepage .storefront-color-terms .attribute-term-name {
    font-weight: 400;
    font-size: 12px;
    color: #5C3C30;
    padding: 10px 0px 0px 0px;
    line-height: 140%;
    text-align: center;
    text-decoration: none;
  }
  .page-template-template-homepage .two-banner {
    flex-direction: column;
    gap: 20px;
  }
  .page-template-template-homepage .wp-block-group {
    margin-top: 20px !important;
  }
  .page-template-template-homepage .wp-block-group .wp-block-heading {
    font-family: BlackerProDisplayLight;
    color: #5C3C30;
    font-size: 30px;
    text-align: left !important;
  }
  .page-template-template-homepage .more-to-explore .is-layout-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
