body.woocommerce-cart #qodef-page-inner,
body.woocommerce-checkout #qodef-page-inner {
  box-sizing: border-box;
  width: min(1400px, calc(100% - 48px));
  max-width: none;
  padding-top: 72px;
  padding-bottom: 96px;
}

body.woocommerce-cart #qodef-woo-page,
body.woocommerce-checkout #qodef-woo-page {
  font-family: "DM Sans", sans-serif;
}

body.woocommerce-cart .woocommerce-cart-form {
  transition: opacity 180ms ease;
}

body.woocommerce-cart .woocommerce-cart-form.mobinova-cart-updating {
  opacity: 0.55;
  pointer-events: none;
}

body.woocommerce-cart table.shop_table {
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 0;
  background: #ffffff;
}

body.woocommerce-cart table.shop_table thead {
  background: #f2ece3;
}

body.woocommerce-cart table.shop_table th {
  padding: 22px 24px;
  border-color: #dedede;
  color: #1d1d1b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-cart table.shop_table td {
  padding: 24px;
  border-color: #e5e5e5;
  color: #1d1d1b;
  vertical-align: middle;
}

body.woocommerce-cart table.shop_table .product-thumbnail {
  width: 112px;
}

body.woocommerce-cart table.shop_table .product-thumbnail img {
  width: 88px;
  height: 88px;
  padding: 8px;
  background: #f7f3ee;
  object-fit: contain;
}

body.woocommerce-cart table.shop_table .product-name a {
  color: #1d1d1b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-subtotal {
  color: #3b4862;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

body.woocommerce-cart table.shop_table .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8b8b8;
}

body.woocommerce-cart table.shop_table .quantity input,
body.woocommerce-cart table.shop_table .quantity button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d1d1b;
  text-align: center;
}

body.woocommerce-cart table.shop_table .product-remove a {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #3b4862 !important;
  font-size: 22px;
  text-decoration: none;
}

body.woocommerce-cart table.shop_table .product-remove a:hover {
  background: #f2ece3;
}

body.woocommerce-cart button[name="update_cart"] {
  display: none !important;
}

body.woocommerce-cart .cart-collaterals {
  margin-top: 36px;
}

body.woocommerce-cart .cart_totals {
  padding: 32px;
  background: #f7f3ee;
}

body.woocommerce-cart .cart_totals h2 {
  margin-top: 0;
  color: #3b4862;
  font-family: "Chillax", sans-serif;
  font-size: 28px;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid #3b4862;
  border-radius: 999px;
  background: #3b4862;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: transparent;
  color: #3b4862;
}

/* Keep the complete quotation checkout inside the 1400px site grid. */
body.woocommerce-checkout #qodef-page-content,
body.woocommerce-checkout #qodef-page-content > .qodef-grid-inner,
body.woocommerce-checkout .qodef-page-content-section,
body.woocommerce-checkout #qodef-woo-page,
body.woocommerce-checkout #qodef-woo-page > .woocommerce {
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout #qodef-woo-page.qodef--checkout .woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(380px, 0.8fr);
  column-gap: 64px;
  align-items: start;
  width: 100%;
  margin-top: 48px;
}

body.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 100%;
  margin: 0;
}

body.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout #customer_details > .col-2 {
  width: 100%;
  padding: 0;
  margin: 0;
}

body.woocommerce-checkout #customer_details > .col-2 {
  margin-top: 26px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > wc-order-attribution-inputs {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row {
  float: none;
  width: 100%;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-wide,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field {
  grid-column: auto;
}

body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_email_field {
  grid-column: 1 / -1;
}

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #billing_company_field {
  grid-column: 1;
}

body.woocommerce-checkout #billing_last_name_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #billing_project_type_field {
  grid-column: 2;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper select,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-selection {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #c9c6c1;
  background: #fff;
  box-sizing: border-box;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-container {
  width: 100% !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-selection__rendered {
  padding: 0 !important;
  line-height: 26px !important;
}

body.woocommerce-checkout .woocommerce-additional-fields textarea {
  min-height: 125px;
}

body.woocommerce-checkout #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 20px !important;
}

body.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  margin-top: 68px;
  padding: 28px;
  border: 1px solid #dedede;
  background: #f7f3ee;
  box-sizing: border-box;
}

body.woocommerce-checkout #order_review table.shop_table {
  margin: 0;
  background: transparent;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
  padding: 14px 0;
  border-color: #d8d3cd;
}

@media (max-width: 1180px) {
  body.woocommerce-checkout #qodef-woo-page.qodef--checkout .woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  body.woocommerce-checkout #order_review_heading {
    margin-top: 36px !important;
  }

  body.woocommerce-checkout #order_review {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart #qodef-page-inner,
  body.woocommerce-checkout #qodef-page-inner {
    width: min(100% - 32px, 1400px);
    padding-top: 40px;
    padding-bottom: 64px;
  }

  body.woocommerce-cart table.shop_table td {
    padding: 16px;
  }

  body.woocommerce-cart table.shop_table .product-thumbnail {
    display: none;
  }

  body.woocommerce-cart .cart_totals {
    padding: 22px;
  }

  body.woocommerce-checkout #customer_details {
    display: block;
    margin: 0;
  }

  body.woocommerce-checkout #customer_details > * {
    width: 100%;
    padding: 0;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row {
    grid-column: 1;
  }

  body.woocommerce-checkout #order_review {
    padding: 20px;
  }
}
