#products_detail_main {
  top: 0px;
  padding-bottom: 200px;
}

#product_detail {
  width: 80% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  top: 0px;
  padding-bottom: 100px;
}

#products_detail_main .product {
  background-image: none !important;
  padding-top: 0px;
  top: 0px !important;
}

#product {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0px;
}

#products_content {
  padding-top: 100px;
}

/* 產品描述 */
#product_info {
  padding-top: 0px;
}

.product_title {
  padding-top: 0px;
  color: white;
  width: 100% !important;
  text-align: center;
  border-bottom: 0px solid white;
  background-color: rgba(255, 255, 255, 0.3);
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 產品照片 */
.onsale {
  display: none;
}

.wp-post-image {
  display: block;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

#product_img {
  width: 90%;
  margin: 50px auto 50px auto;
  padding: 0px;
}

#product_img img {
  display: block;
  max-width: 100%;
}

.product-thumbnails {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  padding: 0px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.product-thumbnails .woocommerce-product-gallery__image {
  width: 32%;
}

.product-thumbnails img {
  width: 100%;
}

/* 產品規格 */
/*  */
#single_product_content {
  padding-top: 0px;
  padding-bottom: 0px !important;
}

.woocommerce-tabs {
  padding-top: 0px !important;
}

.st_sub_title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: #f2cb04 !important;
  padding-bottom: 30px;
}

.woocommerce-Tabs-panel {
  color: aliceblue;
}

#tab-description table {
  width: 80% !important;
  margin: 50px auto 50px auto;
  border: 1px solid white;
  color: aliceblue;
}

#tab-description > table > tbody > tr {
  border: 1px solid white;
  height: auto;
}

#tab-description > table > tbody > tr:first-child {
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.3) !important;
  text-align: center;
  letter-spacing: 1em;
  font-size: 20px;
  font-weight: 900;
}

#tab-description table tbody > tr > td {
  width: 33.3% !important;
  border: 1px solid white;
  padding: 0px 10px 0px 10px;
}

/* 相關產品 */
.related.products {
  padding-top: 50px;
}

.related.products .products {
  padding-top: 30px;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  padding-left: 5%;
}

/* 商品li */
.products .product {
  width: 33%;
  height: auto !important;
  max-width: 300px;
  margin-bottom: 30px;
  margin-left: 0.5%;
  position: relative;
  box-shadow: 1px 1px 3px rgb(167, 167, 167);
  padding: 5px 05px 5px 5px;
  background-color: aliceblue;
}

/* 商品照片 */
.products .product .product img {
  width: 100%;
}

/* 商品名稱 */
.st_pro_name {
  width: 100%;
  height: auto;
  display: flex;
  /* align-items: center; */
  padding-top: 10px;
  padding-bottom: 10px;
}

.st_pro_name .woocommerce-loop-product__title {
  width: 80%;
  font-size: 1.2em !important;
  text-align: left;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-left: 5px;
  text-decoration: none !important;
  text-decoration-style: none;
  color: black;
}

/* 箭頭圖示 */
.circle_array {
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  right: 10px;
  background-color: black;
  border-radius: 50%;
}

/* ------------------------------------- */
/* 關閉woocommerce預設 */
.products .product a {
  text-decoration: none;
}

.onsale {
  display: none !important;
}

.st_pro_price {
  display: none !important;
}

/* 價格 */
.price {
  display: none !important;
}

/* 加入購物車按鈕 */
.add_to_cart_button {
  display: none;
}

/* 直接購買按鈕 */
.st_drc_buy_btn {
  display: none !important;
}

.st_pro_button {
  display: none !important;
}

/* 隱藏查看購物車 */
a.added_to_cart.wc-forward {
  display: none;
}

.woocommerce-ordering {
  display: none !important;
}

.tabs {
  display: none;
}

/* ------------------------------------- */
/* 桌機 */
@media screen and (max-width: 1700px) {
  .products .product {
    margin-top: 0px;
    margin-left: 0.5%;
    width: 32% !important;
    position: relative;
  }
}

@media screen and (max-width: 1400px) {
  #product_detail {
    width: 95% !important;
    margin: 0px auto 0px auto;
    padding-right: 0px !important;
  }
}

@media screen and (max-width: 1200px) {
}

/* 平板 */
@media screen and (max-width: 992px) {
  #product_detail {
    width: 90%;
    top: 0px;
    padding-bottom: 0px;
    padding-top: 50px;
  }

  #products_content {
    padding-top: 60px;
    padding-left: 0px;
  }

  #product_list {
    padding-left: 0px;
  }

  .third_main_menu {
    padding-left: 0px;
  }

  .product_title {
    margin-top: 50px;
    display: block !important;
  }
}

/* 手機 */
@media screen and (max-width: 768px) {
  #product_detail {
    padding-top: 100px;
    width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #product {
    width: 95% !important;
  }

  #products_content {
    padding-top: 0px !important;
  }

  .wp-post-image {
    width: 100%;
  }

  .product-thumbnails {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }

  .product-thumbnails .woocommerce-product-gallery__image {
    width: 32%;
  }

  .product-thumbnails img {
    width: 100%;
  }

  .related.products .products {
    justify-content: center;
    width: 100%;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-left: 0px;
  }

  .related.products .products .product {
    width: 45% !important;
  }

  #tab-description table {
    width: 95% !important;
  }

  #tab-description > table > tbody > tr:first-child > td {
    letter-spacing: 0em;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media screen and (max-width: 576px) {
  #product_detail {
    padding-top: 100px;
  }
}
