/* Crystal sitewide polish */
body.theme-bacola {
  background: #fffcf8;
}
.site-content,
.content-wrapper,
.site-primary {
  background: #fffcf8;
}

.woocommerce-breadcrumb {
  font-size: .78rem !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8a7f76 !important;
}

/* Product cards anywhere */
.products .product-wrapper,
ul.products .product .product-wrapper {
  background: #fff;
  border: 1px solid #eee6dc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(18,10,8,.04);
}
.products .product-title,
.products .product-name,
.products h3,
.products h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 500 !important;
}

/* Shop sort strip */
.before-shop-loop {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: .6rem 0 1rem !important;
}
.shop-view-selector { display: none !important; }

/* Blog listing */
body.blog article.post {
  max-width: 800px;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.blog article.post .entry-header,
body.blog article.post .entry-content,
body.blog article.post .post-wrapper,
body.blog article.post .entry-footer {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
body.blog article.post .entry-footer { padding-bottom: 1.2rem; }
body.blog .more-link,
body.blog a.read-more,
body.blog .read-more {
  display: inline-block;
  background: #2f3d2a !important;
  color: #fffef8 !important;
  border-radius: 8px;
  padding: .55rem 1rem;
  text-decoration: none !important;
  font-weight: 650;
}

/* Single post */
body.single-post .content-secondary { display: none !important; }
body.single-post .content-primary {
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto;
}
body.single-post .entry-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.02em;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}
body.single-post .entry-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.78;
  color: #2c2320;
}

/* Single product */
body.single-product .product_title,
body.single-product h1 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 500 !important;
  letter-spacing: -.02em;
}
body.single-product .single_add_to_cart_button,
body.single-product button.button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce a.checkout-button {
  background: linear-gradient(180deg, #e0c878, #c9a84c) !important;
  color: #2a2208 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 750 !important;
  letter-spacing: .04em;
}
body.single-product .related.products ul.products,
body.single-product .upsells ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
}
body.single-product .related.products .product,
body.single-product .upsells .product {
  width: 25% !important;
  max-width: 25% !important;
  padding: 0 8px 1rem !important;
}

/* Cart / checkout */
.woocommerce-cart table.shop_table,
.woocommerce-checkout .woocommerce {
  background: #fff;
  border: 1px solid #eee6dc;
  border-radius: 16px;
  overflow: hidden;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-block;
  text-align: center;
}

/* Contact */
body.page-id-1685 .site-content { background: #fffcf8; }
body.page-id-1685 h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
body.page-id-1685 button,
body.page-id-1685 input[type="submit"] {
  background: linear-gradient(180deg, #e0c878, #c9a84c) !important;
  color: #2a2208 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 750 !important;
}

/* Account */
body.woocommerce-account .woocommerce {
  max-width: 1120px;
  margin: 0 auto;
}

/* Product leftovers */
body.single-product .tinv-wraper,
body.single-product .product-share,
body.single-product .compare-button,
body.single-product a.compare,
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .klbth-wishlist-button {
  display: none !important;
}
body.single-product .product-detail,
body.single-product .single-content {
  background: #fff;
  border: 1px solid #eee6dc;
  border-radius: 16px;
}
body.single-product .woocommerce-tabs {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.2rem;
}

/* Blog leftovers */
.sharedaddy,
.sd-sharing-enabled,
.shareaholic-canvas,
.heateor_sss_sharing_container,
body.single-post .widget_popular_posts {
  display: none !important;
}

/* Cart empty */
.woocommerce-cart .return-to-shop a,
.cart-empty + .return-to-shop a {
  background: linear-gradient(180deg, #e0c878, #c9a84c) !important;
  color: #2a2208 !important;
  border-radius: 999px !important;
  padding: .8rem 1.3rem !important;
  font-weight: 750 !important;
}

@media (max-width: 900px) {
  body.single-product .related.products .product,
  body.single-product .upsells .product {
    width: 50% !important;
    max-width: 50% !important;
  }
}
@media (max-width: 520px) {
  body.single-product .related.products .product,
  body.single-product .upsells .product {
    width: 100% !important;
    max-width: 100% !important;
  }
}
