
/** ----------- woocommerce add field extension style - START **/
/** --- web [woocommerce] > product / cart **/
body.woocommerce .button-cart-wrap {
  text-align: center;
}

body.single .preview-image-section {
  display: inline-block;
}

body.single .preview-image-section img.preview_image[src=""] {
  display: none;
}

body.single .preview-image-section .preview_button,
body.single .preview-image-section .delete_button,
body.page td.product-preview span.preview-edit,
body.page td.product-preview span.preview-delete {
  cursor: pointer;
  border: 1px dotted red;
  width: 100px;
  display: inline-block;
  text-align: center;
  padding: 4px;
  position: relative;
}

body.single .preview-image-section .delete_button {
  display: none;
}

body.single .preview-image-section .preview_image {
  width: 100px;
  height:100px;
}

body.page tr.cart_item td.product-preview span.preview-wrap img.preview-image {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
}

body.page tr.cart_item td.product-name a {
  display: inline-block;
  width: 100%; 
}

body.single .single-info-wrap, td.product-name .cart-item-info-wrap {
  background: #dedede;
  padding: 23px;
  display: inline-block;
  margin: 10px 0;
}

body.single .single-info-wrap .input-value.plate_attach_file input.plate_attach_file,
body.page tr.cart_item td.product-name .cart-item-info-wrap .input-field.plate_attach_file input.plate_attach_file {
  display: none;
}

body.page form.woocommerce-cart-form tr.cart_item td.product-name dl.variation {
  display: none;
}

body.page form.woocommerce-cart-form td.actions a.add-product-button {
  background: #e9e6ed;
  color: #515151;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 4px;
  font-weight: 700;
}
/** --- admin [woocommerce] > order item **/
body.wp-admin table.woocommerce_order_items span.order-preview-wrap {
  display: inline-block;
  border: 1px solid #dedede;
  padding: 5px;
  border-radius: 5px;
  margin: 10px 0 5px 0;
  height: 100px;
  width: 100px;
}
body.wp-admin table.woocommerce_order_items span.order-preview-wrap img.preview-image {
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 100px;
}
/** --- loader ---- **/
i.loader {
  width: 20px;
  height: 20px;
  border: 5px solid #000;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
body.page td.product-preview span.preview-delete i.loader,
body.page td.product-preview span.preview-edit i.loader {
  display: none;
}
/** ----------- woocommerce add field extension style - END **/