
.single-product
    .summary.entry-summary
    .woocommerce-product-details__short-description {
    margin-bottom: 20px;
  }

/**
   * Sticky Add to Cart
   อันนี้คือ sticky add to cart ที่เลื่อนลงมาจากด้านบน ปกติจะขึ้นแต่บน desktop 
   css อันนี้ทำให้ มันขึ้นใน mobile ด้วย ขอเก็บไว้ก่อน
   ***** do not delete ******
	 */
/* .storefront-sticky-add-to-cart {
  display: block!important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
  padding: 1em;
  overflow: hidden;
  zoom: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.storefront-sticky-add-to-cart--slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}
.storefront-sticky-add-to-cart--slideOutUp {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp;
}
.storefront-sticky-add-to-cart__content {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}
.storefront-sticky-add-to-cart__content-title {
  display: block;
}
.storefront-sticky-add-to-cart__content-price {
  margin-right: 0.875em;
  opacity: 0.5;
}
.storefront-sticky-add-to-cart__content-button {
  margin-left: auto;
}
.storefront-sticky-add-to-cart img {
  max-width: 3.706325903em;
  margin: 0 1.41575em 0 0;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.storefront-sticky-add-to-cart .star-rating {
  display: inline-block;
  margin: 0;
  vertical-align: bottom;
}
.admin-bar .storefront-sticky-add-to-cart--slideInDown {
  top: 32px;
} */

/*
  image colossel class
*/
.iappcreation-single-product-header .swiper-container {
  width: 100%;
  /* height: 275px; */
  height: 320px;
  margin-bottom: 15px;
}

.iappcreation-single-product-header .swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: pink; */

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.iappcreation-single-product-header .swiper-slide {
  /* width: 320px;
  height: 216px; */
  width: 390px;
  height: 263px;
}

.iappcreation-woocommerce-physical-product .iappcreation-single-product-header .swiper-slide {
  width: 100%;
  height: auto;
}

.iappcreation-woocommerce-physical-product .iappcreation-single-product-header .swiper-slide img {
  max-width: 375px;
}

.iappcreation-woocommerce-physical-product .iappcreation-single-product-header .swiper-container {
  height: auto;
  padding-bottom: 60px; /* สำหรับให้ pagination-fraction ลงมาอยู่ในพื้นที่สีขาว ไม่งั้นจะทับอยู่บนรูป */
}

.iappcreation-single-product-header .swiper-slide img {
  border-radius: 14px;
}


.iappcreation-single-product-header .swiper-fraction {
  background-color: rgba(214,214,214);
  border-radius: 14px;
  width: 65px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: white;
}

/* เส้นแบ่งระหว่าง system requirment กับ customer also bought */ 
.requirement-text-group p:nth-child(3) {
  border-width: 0px !important;
}

.iappcreation-single-product-tabs-panel {
  margin-top: 25px;
}

.single-product div.product p.price {
  color: #e796a1 !important;
}

.single-product
    .summary.entry-summary
    .woocommerce-product-details__short-description
    .short-description-title {
    text-decoration: underline;
  }


/* แก้ให้กด product gallery ได้ */
.iappcreation_plugin_product_gallery_image .images {
  pointer-events: auto!important;
  /* -webkit-transition: 3s;
    transition: 3s; */
}

/* .iappcreation_plugin_product_gallery_image .slider {
  all: initial;
}

.iappcreation_plugin_product_gallery_image .slider:before {
  all: initial;
}

.iappcreation_plugin_product_gallery_image .slider:after {
  all: initial;
} */

.iappcreation_plugin_product_gallery_image .slider {
  /* position: inherit;
  cursor: inherit;
  top: inherit;
  left: inherit;
  right: inherit;
  bottom: inherit; */
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 0px;
}

.iappcreation_plugin_product_gallery_image .slider:before {
  position: initial;
  content: initial;
  z-index: initial;
  height: initial;
  width: initial;
  left: initial;
  bottom: initial;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: initial;
}

.iappcreation_plugin_product_gallery_image .slider:after {  
  position: initial;
  content: initial;
  left: initial;
  bottom: initial;
}

.iappcreation_plugin_product_gallery_image .nickx-slider-for .btn-prev, .nickx-slider-for .btn-next {
  z-index: 1!important;
}

.iappcreation_plugin_product_gallery_image .slick-slide img {
  margin: 0 auto;
}

.iappcreation_plugin_product_gallery_image img {
  border-radius: 3px !important;
}

.iappcreation_plugin_product_gallery_image .nickx-slider-for{
  margin-bottom: 5px !important;
}

.single-product .fancybox-container button,
.single-product .fancybox-container input[type="button"],
.single-product .fancybox-container input[type="reset"],
.single-product .fancybox-container input[type="submit"],
.single-product .fancybox-container .button,
.single-product .fancybox-container .added_to_cart,
.single-product .fancybox-container .widget a.button,
.single-product .fancybox-container .site-header-cart
.single-product .fancybox-container .widget_shopping_cart a.button {
  background-color:rgba(30,30,30,.6)!important;
  border-radius: 0px!important;
  border-width: 0px!important;
}


/* product selected variant style */

/* ปุ่ม variant แบบ ปุ่ม เช่น เลือก size หรือ option ที่เป็น text */
.woo-variation-swatches.wvs-style-squared .iappcreation-single-product-content .variable-items-wrapper .variable-item.button-variable-item{
  width:57px !important;
  height:28px !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item span {
  padding-top: 3px !important;
}

.woo-variation-swatches .iappcreation-single-product-content .variable-items-wrapper .variable-item:not(.radio-variable-item).selected
{
  background-color: rgba(219, 153, 162, 1.0);
  box-shadow: 0 0 0 1px rgb(219, 153, 162);
  color: white;
} 

.woo-variation-swatches .iappcreation-single-product-content .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
  background-color: rgba(219, 153, 162, 1.0);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
  color: white;
}

/* box item */
.woo-variation-swatches .iappcreation-single-product-content .variable-items-wrapper .variable-item:not(.radio-variable-item) {
  background-color: rgba(245, 245, 245, 1.0);
  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.0);
  color: rgb(117, 117, 117);
  width: 70px;
  height:70px;
}

/* เอาสัญลักษณ์กากบาทใน variantion ที่ไม่มีออก */
.woo-variation-swatches.wvs-attr-behavior-blur .iappcreation-single-product-content .variable-item:not(.radio-variable-item).disabled::before,
.woo-variation-swatches.wvs-attr-behavior-blur .iappcreation-single-product-content .variable-item:not(.radio-variable-item).disabled::after,
.woo-variation-swatches.wvs-attr-behavior-blur .iappcreation-single-product-content .variable-item:not(.radio-variable-item).disabled:hover::before,
.woo-variation-swatches.wvs-attr-behavior-blur .iappcreation-single-product-content .variable-item:not(.radio-variable-item).disabled:hover::after {
  background: transparent !important;
}

.iappcreation-single-product-content a.reset_variations {
  margin-left: 0px!important; 
}

/* end product selected variant style */

/* sticky add to cart footer */
.iappcreation_sticky_add_to_cart_footer{
  width: 100%;
  height: 75px;
  background-color: white;
  position: fixed;
  margin-left:0px !important;
  left: 0;
  bottom: 0;
  z-index: 99999999;
}

.iappcreation_sticky_add_to_cart_footer_content {
  width: 90%;
  margin: 0 auto;
  padding: 14px 0;
}

.iappcreation_sticky_add_to_cart_button {
  width: 100%;
  text-align: center;
  color: white!important;
  background-color: #e796a1 !important;
  font-size: 14px;
}

.iappcreation-single-product-content .user-comment-avatar{
  width: 70px;
  float: left;
}

.iappcreation-single-product-content #reviews .commentlist li .avatar{
  width: 70px;
  margin-right:0;
}

.iappcreation-single-product-content #reviews .commentlist li .comment_container .comment-text{
  width: 100%;
  float: none;
  padding-left: 95px;
}

.iappcreation-single-product-content .woocommerce-Reviews-title{
  margin-bottom: 40px;
}

#reviews .commentlist li div.description p{
  margin-bottom: 0;
}


.iappcreation-single-product-content .qib-container{
  margin-bottom:20px;
  margin-top:5px;
}

.iappcreation-single-product-content .minus.qib-button,
.iappcreation-single-product-content .plus.qib-button{
  border-radius: 0 !important;
  border-color: #cac9c9 !important;
  border-width: 1px !important;
}


.iappcreation-single-product-content .minus.qib-button{
  border-radius: 5px 0px 0px 5px !important;
}

.iappcreation-single-product-content .plus.qib-button{
  border-radius: 0px 5px 5px 0px !important;
}

.iappcreation-single-product-content .qib-button:not(#qib_id):not(#qib_id){
  font-size: 25px;
  font-weight: 100;
}

.iappcreation-single-product-content .qib-container .quantity input.qty:not(#qib_id):not(#qib_id){
  color: #e796a1;
  font-family: 'SukhumvitTHBold';
  font-size:16px;
  width: 60px;
}

.iappcreation-single-product-content .quantity-amount-text{
  font-size: 17px;
  margin-top: 15px;
  text-align: left;
}

.iappcreation-single-product-content .qib-container .quantity input.qty:not(#qib_id):not(#qib_id),
.iappcreation-single-product-content .qib-button:not(#qib_id):not(#qib_id){
  height: 32px;
}


.iappcreation-single-product-content .woocommerce-variation-add-to-cart.variations_button .quantity-amount-text{
  margin-top: 0px;
}


.iappcreation-single-product-content .reset_variations{
  display:none;
}

.iappcreation-single-product-content .woo-variation-items-wrapper{
  margin-bottom: 0;
}

.iappcreation-single-product-content .stock.in-stock{
  color: rgb(161,214,210);
}


.iappcreation-single-product-content .woocommerce-review-link{
  font-size: small;
  font-weight: 100 !important;
}

.single-product .site-content{
  margin-top: 65px;
}

.iappcreation-woocommerce-physical-product .site-content{
  margin-top: 33px;
}

.iappcreation-single-product-content .on-sale-badge-triangle{
  position: absolute;
  z-index: 100;
  right: 0em;
  width: 80px;
  top: 0;
}

.iappcreation-single-product-content .on-sale-badge-triangle img{
  border-radius: 0;
}

/* Hide รูป thumbnail รวมด้านล่าง icon สำหรับ physical product  */
.iappcreation-single-product-content .woocommerce-product-gallery .flex-control-thumbs{
  display: none;
}

.iappcreation-single-product-content .readmore-text{
  transition: height 100ms;
  overflow: hidden;
}