/* Checkout order summary — beat Elementor widget CSS, match prototype .summary */

.elementor-widget-woocommerce-checkout-page,
.elementor-widget-woocommerce-checkout-page .e-checkout__order_review,
.woocommerce-checkout .e-checkout__order_review,
.woocommerce-checkout #order_review.woocommerce-checkout-review-order {
  font-family: "Jost", sans-serif !important;
}

.woocommerce-checkout .e-checkout__order_review,
.elementor-widget-woocommerce-checkout-page .e-checkout__order_review {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow);
  padding: 22px !important;
  overflow: visible !important;
  color: var(--ink) !important;
}

.woocommerce-checkout .e-checkout__order_review #order_review {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce #order_review_heading,
.woocommerce-checkout h3#order_review_heading {
  font-family: "Jost", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  color: var(--blue) !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .e-checkout__order_review,
.woocommerce-checkout .e-checkout__order_review-2 {
  overflow: visible !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout table.woocommerce-checkout-review-order-table.shop_table,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  display: table;
  table-layout: fixed;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
  display: none !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table td,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody th {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  --order-summary-rows-gap-top: 0px;
  --order-summary-rows-gap-bottom: 0px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .cart_item,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table tbody .cart_item {
  border: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-name {
  display: grid !important;
  grid-template-columns: 60px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  max-width: none !important;
  width: 100% !important;
  padding: 0 0 13px !important;
  padding-inline-end: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  margin: 0 0 13px !important;
  color: var(--blue) !important;
  font-family: "Jost", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-total,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-total {
  display: none !important;
}

.woocommerce-checkout img.heyyou-sum-thumb,
.woocommerce-checkout .heyyou-sum-thumb,
.elementor-widget-woocommerce-checkout-page img.heyyou-sum-thumb {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  border-radius: 12px !important;
  object-fit: cover;
  background: var(--peri);
  grid-column: 1;
  grid-row: 1 / span 8;
}

.woocommerce-checkout .heyyou-sum-name,
.woocommerce-checkout .heyyou-sum-name a,
.elementor-widget-woocommerce-checkout-page .heyyou-sum-name,
.elementor-widget-woocommerce-checkout-page .heyyou-sum-name a,
.elementor-widget-woocommerce-checkout-page .woocommerce-checkout-review-order-table .cart_item td.product-name a {
  grid-column: 2;
  display: block;
  font-family: "Jost", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  color: var(--blue) !important;
  line-height: 1.35 !important;
  letter-spacing: -.005em !important;
  text-decoration: none !important;
}

.woocommerce-checkout td.product-name .product-quantity {
  display: none !important;
}

.woocommerce-checkout td.product-name .heyyou-sumconfig,
.woocommerce-checkout td.product-name dl.variation {
  grid-column: 2;
}

/* Prototype .sumconfig */
.elementor-widget-woocommerce-checkout-page .woocommerce .product-name .heyyou-sumconfig,
.elementor-widget-woocommerce-checkout-page .woocommerce .product-name .variation,
.woocommerce-checkout td.product-name .heyyou-sumconfig,
.woocommerce-checkout td.product-name dl.variation {
  display: block !important;
  font-family: "Jost", sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: var(--ink-60) !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .product-name .heyyou-sumconfig span,
.woocommerce-checkout .heyyou-sumconfig span {
  display: block !important;
  font-family: "Jost", sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: var(--ink-60) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .product-name .heyyou-sumconfig b,
.woocommerce-checkout .heyyou-sumconfig b {
  font-family: "Jost", sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  color: var(--ink) !important;
  line-height: 1.55 !important;
}

.woocommerce-checkout td.product-name .wcpa_cart_color,
.woocommerce-checkout td.product-name .wcpa_color_box,
.woocommerce-checkout td.product-name .wcpa_cart_img_preview,
.woocommerce-checkout td.product-name .wcpa_cart_price {
  display: none !important;
}

/* Prototype .sumline */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table tfoot tr {
  border: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table tfoot td,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  background: transparent !important;
  border: 0 !important;
  padding: 5px 0 !important;
  font-family: "Jost", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.4 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  color: var(--ink-60) !important;
  text-align: left;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  color: var(--ink) !important;
  text-align: right;
  font-weight: 600 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table tfoot .order-total th,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table tfoot .order-total td {
  border-top: 1px solid var(--line) !important;
  padding-top: 12px !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: var(--blue) !important;
}

/* Payment + Place order: native WooCommerce submit, styled like prototype Pay */
.woocommerce-checkout .e-checkout__order_review {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin-bottom: 0 !important;
}

.woocommerce-checkout .e-checkout__order_review-2 {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-top: 0 !important;
  border-radius: 0 0 20px 20px !important;
  box-shadow: var(--shadow);
  padding: 0 22px 22px !important;
  margin-top: 0 !important;
}

.woocommerce-checkout #payment,
.woocommerce-checkout .woocommerce-checkout-payment,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout #payment {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 16px 0 0 !important;
  margin: 0 !important;
}

.woocommerce-checkout #payment .wc_payment_methods,
.woocommerce-checkout #payment .payment_methods {
  display: block !important;
  visibility: visible !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.woocommerce-checkout #payment .form-row.place-order {
  display: block !important;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 16px 0 0 !important;
}

.woocommerce-checkout #payment #place_order,
.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment #place_order,
.elementor-widget-woocommerce-checkout-page .woocommerce #payment #place_order {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  margin: 16px 0 0 !important;
  padding: 14px 20px !important;
  background: var(--terra) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 30px !important;
  font-family: "Jost", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  cursor: pointer !important;
}

.woocommerce-checkout #payment #place_order:hover,
.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment #place_order:hover {
  background: var(--terra-dk) !important;
  color: #fff !important;
}

.woocommerce-checkout .heyyou-payment-area #payment,
.woocommerce-checkout .heyyou-payment-area #place_order,
.heyyou-checkout .heyyou-payment-area #payment,
.heyyou-checkout .heyyou-payment-area #place_order {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.woocommerce-cart-form .heyyou-sumconfig {
  font-family: "Jost", sans-serif;
  font-size: 11.5px;
  color: var(--ink-60);
  line-height: 1.55;
  margin-top: 4px;
}

.woocommerce-cart-form .heyyou-sumconfig span {
  display: block;
}

.woocommerce-cart-form .heyyou-sumconfig b {
  font-weight: 600;
  color: var(--ink);
}

.woocommerce-cart-form .wcpa_cart_color,
.woocommerce-cart-form .wcpa_color_box {
  display: none !important;
}
