td.product-name a {
  display: block;
  color: var(--wd-entities-title-color);
  word-wrap: break-word;
  font-weight: var(--wd-entities-title-font-weight);
  font-style: var(--wd-entities-title-font-style);
  font-family: var(--wd-entities-title-font);
  text-transform: var(--wd-entities-title-transform);
  line-height: 1.4;
  display: inline-block;
}
td.product-name a:hover {
  color: var(--wd-entities-title-color-hover);
}
.shop_table tr :is(td, th):first-child {
  padding-inline-start: 0;
}
.shop_table tr :is(td, th):last-child {
  padding-inline-end: 0;
  text-align: end;
}
tr.cart_item .product-total > .amount {
  color: var(--wd-text-color);
  font-weight: 400;
}
tr.order-total strong .amount {
  font-size: 1.3em;
}
tr.order-total td strong {
  display: block;
}
th:is(.product-remove, .product-thumbnail) {
  font-size: 0;
}
th.product-name {
  text-align: start;
}
th.product-thumbnail {
  width: 10px;
}
th.product-remove {
  width: 40px;
}
td.product-name {
  text-align: start;
}
td.product-name p {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 0.9em;
}
td.product-name ul.variation {
  margin-top: 5px;
  width: 100%;
}
td.product-sku {
  word-break: break-all;
}
td.product-price > .amount {
  color: var(--wd-text-color);
  font-weight: 400;
}
td.product-quantity input[type='text'] {
  max-width: 80px;
  text-align: center;
}
td.product-thumbnail > a {
  display: block;
  overflow: hidden;
}
td.product-thumbnail img {
  min-width: 80px;
  max-width: 80px;
  border-radius: calc(var(--wd-brd-radius) / 1.5);
}
td:is(.product-btn, .woocommerce-orders-table__cell-order-actions) a {
  padding: 5px 14px;
  min-height: 36px;
  font-size: 12px;
  border-radius: var(--btn-accented-brd-radius);
  color: var(--btn-accented-color);
  box-shadow: var(--btn-accented-box-shadow);
  background-color: var(--btn-accented-bgcolor);
  text-transform: var(
    --btn-accented-transform,
    var(--btn-transform, uppercase)
  );
  font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
  font-family: var(--btn-accented-font-family, var(--btn-font-family, inherit));
  font-style: var(--btn-accented-font-style, var(--btn-font-style, unset));
}
td:is(.product-btn, .woocommerce-orders-table__cell-order-actions) a:hover {
  color: var(--btn-accented-color-hover);
  box-shadow: var(--btn-accented-box-shadow-hover);
  background-color: var(--btn-accented-bgcolor-hover);
}
td:is(.product-btn, .woocommerce-orders-table__cell-order-actions) a:active {
  box-shadow: var(--btn-accented-box-shadow-active);
  bottom: var(--btn-accented-bottom-active, 0);
}
td:is(.product-btn, .woocommerce-orders-table__cell-order-actions)
  a.wd-disabled {
  opacity: 0.4;
  pointer-events: none;
}
td.product-remove {
  padding: 0;
  text-align: center;
}
.woocommerce-remove-coupon {
  margin-inline-end: -10px;
}
td.product-remove a,
.woocommerce-remove-coupon {
  --wd-link-color: var(--color-gray-800);
  --wd-link-color-hover: var(--color-gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 0;
}
td.product-remove a:before,
.woocommerce-remove-coupon:before {
  font-size: calc(var(--wd-text-font-size, 14px) / 1.2);
  content: '\f112';
  font-family: 'dctech-font';
}
@media (min-width: 769px) {
  td.product-quantity > span {
    display: inline-block;
    min-width: 80px;
    text-align: center;
  }
}
@media (max-width: 768.98px) {
  .shop_table_responsive {
    display: block;
  }
  .shop_table_responsive :is(thead, th) {
    display: none;
  }
  .shop_table_responsive :is(tbody, tfoot) {
    display: block;
  }
  .shop_table_responsive tr {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--brdcolor-gray-300);
  }
  .shop_table_responsive tr:last-child {
    margin-bottom: 0;
  }
  .shop_table_responsive td {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 0;
    border-bottom: none;
  }
  .shop_table_responsive td:not(:last-child) {
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--brdcolor-gray-300);
  }
  .shop_table_responsive td:before {
    content: attr(data-title);
    margin-inline-end: auto;
  }
  .shop_table_responsive .product-name a:first-child {
    margin-inline-end: 0 !important;
  }
  .shop_table_responsive .product-name :is(.wd-product-detail, .variation) {
    margin-top: 0;
  }
  .shop-table-with-img tr {
    padding-inline-start: 115px;
    min-height: 136px;
  }
  .shop-table-with-img
    td:is(.product-thumbnail, .product-remove, .product-name):before {
    content: none;
  }
  .shop-table-with-img td.product-thumbnail {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    overflow: hidden;
    max-height: 115px;
    border: none;
    border-radius: calc(var(--wd-brd-radius) / 1.5);
  }
  .shop-table-with-img td.product-thumbnail img {
    min-width: 100px;
    max-width: 100px;
  }
  .shop-table-with-img td.product-remove {
    position: absolute;
    top: -4px;
    inset-inline-end: -7px;
    z-index: 1;
    border: none;
  }
  .shop-table-with-img td.product-name {
    padding-inline-end: 20px;
    border-bottom: none;
  }
  .shop-table-with-img div.quantity {
    --wd-form-height: 30px;
  }
}
