
.wcip-mount {
  margin: 0 0 16px;
  width: 100%;
}

.wcip-widget {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: inherit;
}

.wcip-widget--compact {
  display: grid;
  gap: 6px;
}

.wcip-widget__row {
  display: grid;
  gap: 8px;
}

.wcip-label {
  display: block;
  font-size: .95em;
  line-height: 1.4;
  color: inherit;
}

.wcip-select {
  width: 100%;
  min-height: 44px;
}

.wcip-summary {
  font-size: .9em;
  opacity: .8;
}

.wcip-widget.is-updating {
  opacity: .7;
}

.wc-block-cart__sidebar .wcip-mount,
.wc-block-checkout__sidebar .wcip-mount,
.wc-block-components-sidebar .wcip-mount,
.wp-block-woocommerce-cart .wcip-mount,
.wp-block-woocommerce-checkout .wcip-mount {
  width: 100%;
}

.wc-block-cart__payment-options .wcip-mount {
  margin: 0 0 18px;
}

.wcip-widget__row--inline {
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}

.wcip-label {
  margin: 0;
  white-space: nowrap;
  font-size: .95em;
}

.wcip-select {
  margin: 0;
}

.wcip-summary {
  margin-top: 2px;
}

.wc-block-cart__payment-options .wcip-summary,
.wc-block-checkout__payment-method .wcip-summary,
.wc-block-checkout__sidebar .wcip-summary {
  font-size: .85em;
}

@media (max-width: 781px) {
  .wcip-widget__row--inline {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .wcip-label {
    white-space: normal;
  }
}


.wp-block-woocommerce-checkout-order-summary-cart-items-block > .wcip-mount {
  padding: 16px 24px;
  margin: 0;
}

.wp-block-woocommerce-checkout-order-summary-cart-items-block > .wcip-mount + .wc-block-components-order-summary {
  border-top: 1px solid var(--theme-border-color, rgba(255,255,255,.12));
}

.wc-block-cart__payment-options .wcip-mount {
  margin: 0 0 16px;
}


/* Classic shortcode cart/checkout */
.wcip-widget--shortcode {
  margin: 0 0 16px;
}

.woocommerce-checkout-review-order .wcip-widget--checkout {
  padding: 14px 0;
  border-top: 1px solid var(--theme-border-color, rgba(255,255,255,.12));
}

.woocommerce-cart .cart_totals .wcip-widget--cart {
  margin-bottom: 18px;
}

.wcip-widget [data-wcip-summary],
.wcip-summary {
  display: none !important;
}
