.woocommerce ul.products,
.woocommerce-page ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after, .storefront-woocommerce-brands, .storefront-hero__button-edit {
  content: none;
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product {
  box-sizing: border-box;
  width: calc((100% - 28px) / 3) !important;
  max-width: calc((100% - 28px) / 3);
  flex: 0 0 calc((100% - 28px) / 3);
  height: 176px;
  margin: 0 !important;
  padding: 14px 16px 52px 146px;
  position: relative;
  overflow: hidden;
  float: none !important;
  clear: none;
  text-align: left;
  background: #F7F0DA;
  border: 1px solid #9C3232;
}

ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  text-align: left;
}

ul.products li.product img {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 112px !important;
  height: 148px !important;
  object-fit: contain;
  margin: 0;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title a {
  position: static;
  height: auto !important;
  overflow: visible;
  margin: 0;
  color: #2c2416;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

ul.products li.product .price {
  position: absolute;
  left: 146px;
  bottom: 16px;
  margin: 0;
  color: #2c2416;
  font-size: 16px;
  line-height: 44px;
  text-align: left;
}

ul.products li.product .button,
ul.products li.product .added_to_cart {
  position: absolute;
  right: 14px;
  bottom: 14px;
  top: auto;
  transform: none;
  width: 110px;
  height: 48px;
  margin: 0;
  padding: 6px 8px;
  background: #e6d7a4;
  color: #3b2410;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  box-shadow: none;
}

.woocommerce-products-header{
    padding-bottom: 1rem !important;
}

.woocommerce-products-header .term-description{
    display: none;
}

.site-header {
    height: auto !important;
    padding-top: 300px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 300px;
  }

.site-header p{
    margin: 1rem 0 !important;
}
  
  .storefront-primary-navigation {
    position: static !important;
    left: auto;
    bottom: auto;
  }
  
  @media (min-width: 1168px) {
    .site-header {
      padding-top: 430px;
      background-size: 1200px 430px;
    }
  }

  button,
  input[type="submit"],
  input[type="button"],
  .button,
  .wpcf7-submit {
    display: inline-block;
    margin: 8px 0 0;
    background-color: #9C3232;
    color: #fff;
    border: 2px solid #9C3232;
    padding: 10px 22px;
    font-weight: 700;
    float: none;
    transition: 0.5s ease;
  }
  
  button:hover,
  input[type="submit"]:hover,
  input[type="button"]:hover,
  .button:hover,
  .wpcf7-submit:hover {
    background-color: #e8d9a0;
    color: #9C3232;
    border-color: #9C3232;
  }

  .home .entry-content{
    max-width: unset;
  }

  .home .entry-header .entry-title{
    height: 100% !important;
    text-align: center;
  }

  ul.products li.product .button,
ul.products li.product .added_to_cart {
  position: absolute;
  right: 14px;
  bottom: 14px;
  top: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 48px;
  margin: 0;
  padding: 0 8px;
  background: #e6d7a4;
  color: #3b2410;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  border: none;
  box-shadow: none;
  border: 1px solid transparent;
}

ul.products li.product .button:hover,
ul.products li.product .added_to_cart:hover {
  border-color: #9C3232;
}

@media (max-width: 1300px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce ul.products.columns-3 li.product,
  .woocommerce-page ul.products.columns-3 li.product {
    width: calc((100% - 14px) / 2) !important;
    max-width: calc((100% - 14px) / 2) !important;
    flex: 0 0 calc((100% - 14px) / 2) !important;
  }
}

@media (max-width: 900px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce ul.products.columns-3 li.product,
  .woocommerce-page ul.products.columns-3 li.product {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

.single-product #tab-description {
  float: none;
  width: 100% !important;
  margin-top: 0;
}

.single-product .sub_desc {
  margin-left: 0;
}

@media (min-width: 768px) {
  .single-product div.product {
    display: grid;
    grid-template-columns: minmax(220px, 38%) 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  .single-product div.product .woocommerce-product-gallery,
.single-product div.product .woocommerce-product-gallery .flex-viewport,
.single-product div.product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  max-width: none;
}

  .single-product div.product .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    float: none;
    margin: 0;
  }

  .single-product div.product .summary {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    float: none;
    margin: 0 0 1rem;
  }

  .single-product div.product .summary .price,
  .single-product div.product .summary .stock,
  .single-product div.product .summary .cart {
    position: static;
    top: auto;
    right: auto;
    width: auto !important;
  }

  .single-product div.product .woocommerce-tabs {
    grid-column: 2;
    grid-row: 2;
    clear: none;
    overflow: visible;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .single-product .woocommerce-tabs ul.tabs {
    display: none;
  }
}

.single-product div.product .summary p.price,
.single-product div.product .summary p.price .amount {
  margin: 0 0 0.35rem;
  color: #9C3232;
  font-weight: 700;
}

.single-product .entry-summary{
  margin-bottom:0 !important;
}

@media (max-width: 767px) {
  .single-product div.product .summary .price,
  .single-product div.product .summary .stock,
  .single-product div.product .summary .cart {
    position: static;
    top: auto;
    right: auto;
    width: auto !important;
  }
}

.single-product div.product form.cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-product .single_add_to_cart_button {
  width: auto;
  height: auto;
  padding: 10px 22px;
  border-radius: 0;
  white-space: nowrap;
  background-color: #9C3232;
  color: #fff;
  border: 2px solid #9C3232;
  font-weight: 700;
  line-height: 1.2;
}

.single-product .single_add_to_cart_button:hover {
  background-color: #e8d9a0;
  color: #9C3232;
  border-color: #9C3232;
}

.storefront-sticky-add-to-cart__content {
  justify-content: flex-start;
  width: 100%;
}

.storefront-sticky-add-to-cart__content-button.button {
  margin: 0 0 0 auto;
  width: auto;
  height: auto;
  padding: 10px 22px;
  white-space: nowrap;
  background-color: #9C3232;
  color: #fff;
  border: 2px solid #9C3232;
  border-radius: 0;
  font-weight: 700;
  line-height: 1.2;
}

.storefront-sticky-add-to-cart__content-button.button:hover {
  background-color: #e8d9a0;
  color: #9C3232;
  border-color: #9C3232;
}