/* Cart page */

.woocommerce-cart-form tbody td {
  padding-inline: 0.5rem;
}

.woocommerce-cart-form .product-name {
  max-width: 65ch;
}

ul.woocommerce-shipping-methods {
  label {
    position: relative;

    & > span {
      position: absolute;
      right: 0;
    }

  }
}

.woocommerce-shipping-calculator section {
  padding: 0;

  p {
    margin-block: 12px;
  }

  input {
    max-height: 44px;
  }
}

.button[name="update_cart"] {
  background: var(--color-secondary-500);
  color: #fff;
  border-radius: var(--rounded-md);
}

button.button[name="update_cart"]:disabled {
  color: #fff;
  background: #ccc;
}

a.checkout-button {
  border-radius: var(--rounded-md);
  min-width: 100%;
}

form.woocommerce-cart-form .quantity {
  max-width: 120px;
}

.woocommerce-shipping-totals th {
  padding-top: 0 !important;
  vertical-align: top;
  line-height: 1;
}

.woocommerce-shipping-totals td[data-title="Shipping"] {
  padding: 0 0 0 15px;
}

td[data-title="Shipping"] li {
  margin: 0;
}

td[data-title="Shipping"] li label {
  color: #000;
}

.woocommerce-shipping-destination {
  margin: 0;
}

td[data-title="Subtotal"],
td[data-title="Total"] {
  text-align: right;
}

/* Checout page      */

.woocommerce-checkout #order_review {
  border: none;
}

.woocommerce-checkout .place-order .button {
  lin-height: 48;
  border-radius: var(--rounded-md);
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-total td {
  text-align: right;
}

.woocommerce-billing-fields .woocommerce-input-wrapper,
.woocommerce-shipping-fields .woocommerce-input-wrapper,
.woocommerce-additional-fields .woocommerce-input-wrapper {
  width: 100%;
}

p.form-row-last {
  margin: 0;
}

.woocommerce-billing-fields input[type="text"],
.woocommerce-billing-fields input[type="tel"],
.woocommerce-billing-fields input[type="email"] {
  border-width: 2px;
  border-radius: var(--rounded-md);
  background-color: rgb(249 250 251);
}


#billing_country_field {
  margin-top: 4px;

  span.woocommerce-input-wrapper {
    background-color: rgb(249 250 251);
    padding: 9px 12px;
    border: solid 2px rgb(156 163 175);
    min-width: 100%;
    display: flex;
    border-radius: var(--rounded-md);
  }
}

.woocommerce .select2-selection {
  border: solid 2px rgb(156 163 175);
  border-radius: var(--rounded-md);
  min-height: 50px;
}
.select2-selection__rendered {
  line-height: 50px;
}

/*
.select2-container--default .select2-selection--single {
  border: none;
}

.select2 .selection,
#billing_country_field span {
  border-width: 2px;
  border-radius: var(--rounded-md);
  width: 100%;
}



*/

