/* PP checkout fields (pp-checkout-fields.php) */

/* 3. exactly one shipping rate (one package, one radio): no "Shipping options" step - the rate is already selected and the
   order summary shows it. Shown only for a real choice (2+ rates or 2+ packages) or a notice (no rates for the address,
   a shipping error). Also hidden while rates reload after an address edit (0 radios for ~1.5 s): showing the empty step
   then would push the form down 120 px under the buyer's finger (seen: a tap on the SMS box was lost). */
.wc-block-checkout__shipping-option:not(:has(.wc-block-components-radio-control__option ~ .wc-block-components-radio-control__option)):not(:has(.wc-block-components-shipping-rates-control__package ~ .wc-block-components-shipping-rates-control__package)):not(:has(.wc-block-components-shipping-rates-control__no-results-notice, .wc-block-components-notice-banner)) {
  display: none !important;
}

/* 4. coupon: a small "Have a code?" text link (Shopify), opening the field inline */
.wc-block-components-totals-coupon.wc-block-components-panel .wc-block-components-panel__button {
  display: inline-flex;
  width: auto;
  min-height: 0;
  padding: 6px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: 0;
}
.wc-block-components-totals-coupon.wc-block-components-panel .wc-block-components-panel__button-icon { display: none; }
.wc-block-components-totals-coupon.wc-block-components-panel .wc-block-components-panel__button[aria-expanded="true"] { text-decoration: none; opacity: .75; }

/* 1. address suggestions: provider credit kept small */
.pp-cf-brand { font-size: 11px; opacity: .7; }
