/* Plugin Styles */

/* Mini cart styles */
.woocommerce-product-table {
  position: relative;
}

.woocommerce-product-table.adding-to-cart:before {
  content: '';
  background: #ffffff99;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.woocommerce-product-table.adding-to-cart:after {
  content: 'Loading..';
  position: absolute;
  top: 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
  height: 100%;
  top: 300px;
  z-index: 3;
}

.mini-cart-con ul {
  padding: 0;
}

.mini-cart-con {
  right: -300px;
  width: 300px;
  padding: 10px;
  top: 52px;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: #eee;
  transition: all .3s ease;
}

.mini-cart {
  position: fixed;
  right: 0;
  background: #eee;
  top: 17%;
  z-index: 99;
  /* right: -270px; */
}

.mini-cart:hover .wptcd-products-table-wrap {
  display: block;
}

.mini-cart:hover .mini-cart-con {
  opacity: 1;
  visibility: visible;
  right: 0;
}

.woocommerce-product-table .mini-cart-con ul li {
  border-bottom: 1px solid #bbb;
  position: relative;
  padding-bottom: 10px;
}

.mini-cart-con .single-mini-pd {
  display: flex;
}

.mini-cart-con .single-mini-pd img {
  width: 60px;
  margin-right: 15px;
}

.cart-btn-wrap {
  position: relative;
  padding: 10px 15px;
  color: #38a2b8;
  cursor: pointer;
  font-size: 20px;
  border-radius: 6px;
}

.cart-btn-wrap:before,
.wptcd-reset-btn:before {
  content: '\e01d';
  font-family: 'woocommerce';
  color: #333;
  vertical-align: middle;
}

span.cart-btn {
  position: absolute;
  top: 6px;
  right: 5px;
  background: #38a2b8;
  padding: 0px 5px;
  font-size: 12px;
  border-radius: 50%;
  color: #fff;
}

/* Product table styles */
.table thead th {
  border-top: none;
  border-bottom: 1px solid;
  background: #dee2e6;
}

.table tbody td {
  border: none;
  vertical-align: middle;
}

.table thead th {
  border: none;
  border-bottom: 1px solid;
  background: #dee2e6;
}

.gs-table-head th span.gs-button {
  cursor: pointer;
}

#wptcd-product-table tr td img {
  max-width: 80px;
  cursor: pointer;
}

#wptcd-product-table tr td .btn:focus {
  background-color: #17a2b8;
}

.wptcd-pagination button.btn:first-child,
.wptcd-pagination button.btn:last-child {
  background: none;
  color: #333;
  border: none;
}

#wptcd-product-table tr td input.wptcd-product-quantity {
  width: 70px;
  height: 40px;
  vertical-align: middle;
  border: 1px solid #ddd;
  text-align: center;
}

#wptcd-product-table tr td a.added_to_cart {
  display: none;
}

#wptcd-product-table tr td input.wptcd-product-quantity:focus {
  outline: none;
}

#wptcd-product-table tr td .star-rating {
  float: left;
}

table#wptcd-product-table tr td select {
  width: 47%;
  float: left;
  padding: 5px;
  margin: 5px 2px;
  font-size: 13px;
}

table#wptcd-product-table tr td .wptcd-add-to-cart {
  margin-left: 2px;
}

table#wptcd-product-table tr td select:nth-child(2n) {
  margin-right: 0;
}

.wptcd-filtering-area {
  width: auto;
  top: 32px;
  left: 0;
  position: relative;
  z-index: 999;
}

.wptcd-filtering-area select {
  padding: 5px 10px;
  cursor: pointer;
  /* z-index: 999; */
}

.wptcd-products-table-wrap {
  margin: 50px auto;
}

div#wptcd-product-table_filter label {
  color: inherit;
}

div#wptcd-product-table_filter input[type="search"] {
  border-color: inherit;
  padding: 5px 12px;
}

div#wptcd-product-table_filter input[type="search"]:focus {
  outline: none;
}

#wptcd-product-table_wrapper {
  width: 100%;
}

table#wptcd-product-table {
  border: none;
}

table#wptcd-product-table tr th {
  /* color: #333; */
}

/* Quick view styles */
#wptcd-product-table tr td .modal-body img {
  max-width: initial;
  width: 100%;
}

.wptcd-reset-btn {
  cursor: pointer;
  position: relative;
  margin-left: 18px;
  font-size: 14px;
  color: #ff30a4;
}

.wptcd-reset-btn:before {
  content: '\e013';
  color: #ff30a4;
}

#wptcd-product-table_filter {
  opacity: 0;
}


/* Mini cart styles */

li.woocommerce-mini-cart-item.mini_cart_item a.remove.remove_from_cart_button {
  float: left;
}

li.woocommerce-mini-cart-item.mini_cart_item span.quantity {
  margin-left: 24px;
}

li.woocommerce-mini-cart-item.mini_cart_item a img {
  position: absolute;
  width: 55px;
  border: 1px solid;
  top: 4px;
  right: 0;
}

p.woocommerce-mini-cart__buttons.buttons {
  margin-bottom: 5px;
}

p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward {
  font-weight: normal;
  border: 1px solid;
}

p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward.checkout {
  float: right;
}

/* Responsive styles */
@media (max-width: 768px) {
  #wptcd-product-table thead tr th:last-child {
    width: 170px !important;
  }
}