@media all and (max-width: 640px) {
  .woocommerce-content-box {
    padding: 15px;
  }
  .woocommerce-shipping-totals.shipping th,
  .woocommerce-shipping-totals.shipping td {
    display: block;
    width: 100% !important;
  }
  .woocommerce-checkout-review-order-table320.shop_table thead,
  .cart_totals .shop_table thead,
  .woocommerce-checkout-review-order-table320.shop_table tbody,
  .cart_totals .shop_table tbody,
  .woocommerce-checkout-review-order-table320.shop_table tfoot,
  .cart_totals .shop_table tfoot,
  .woocommerce-checkout-review-order-table320.shop_table tr,
  .cart_totals .shop_table tr,
  .woocommerce-checkout-review-order-table320.shop_table td,
  .cart_totals .shop_table td {
    display: block;
    width: 100% !important;
    padding: 0;
  }
  .woocommerce-checkout-review-order-table320.shop_table tr,
  .cart_totals .shop_table tr {
    height: auto;
  }
  .woocommerce-checkout-review-order-table320.shop_table td,
  .cart_totals .shop_table td {
    padding: 0.5rem 0;
  }
  .cart-subtotal td {
    padding-top: 0 !important;
  }
  .order-total,
  .cart-subtotal {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
  }
  .order-total td,
  .cart-subtotal td {
    padding-bottom: 0 !important;
  }
  .order-total th,
  .cart-subtotal th,
  .woocommerce-shipping-totals.shipping th {
    text-align: left !important;
    width: 100% !important;
  }
}
#shipping_method {
  text-align: left;
  margin-bottom: 1rem;
}
#shipping_method input[type="radio"],
#shipping_method input[type="radio"]:after {
  border-radius: 100%;
}
#shipping_method input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  background-color: transparent;
  position: relative;
  top: -1px;
  background-color: rgba(255,255,255,0.2);
}
#shipping_method input[type="radio"]:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #000;
  top: 5px;
  left: 5px;
  transition: transform ease 200ms;
  transform: scale(0);
}
#shipping_method input[type="radio"]:checked:after {
  transform: scale(1);
}
#shipping_method li {
  transition: ease background 200ms, ease border 200ms;
  border: 1px solid #f5ece3;
  background-color: #f5ece3;
  margin-bottom: 0.5rem;
  padding: 1rem 0.2rem;
  font-size: 15px;
}
#shipping_method li:hover {
  border: 1px solid #dcbd9d;
  background-color: #efe0d2;
}
#shipping_method li.active {
  background-color: #f5ece3;
}
#shipping_method label {
  padding-left: 0.3rem;
}
