/* Additions on top of the copied pages: shipping options, Whop card field, errors, busy buttons. */
.pf-ship-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}
.pf-ship-row + .pf-ship-row { margin-top: 8px; }
.pf-ship-row span { flex: 1; }
.pf-ship-row small { display: block; color: #707070; font-size: 12px; margin-top: 2px; }
.pf-ship-row b { font-weight: 600; white-space: nowrap; }
.pf-ship-row input { margin: 0; width: 16px; height: 16px; accent-color: #016a4c; }
.pf-ship-row--insured:has(input:checked) { border-color: #016a4c; background: #f3faf6; }

/* The source checkout hid this block; with insured shipping and sales tax the buyer needs the breakdown. */
.cart .cc-cart-details-block {
  display: grid !important;
  grid-template-columns: 1fr auto;
  row-gap: 6px;
  margin: 12px 0 4px;
  font-size: 14px;
}
.cart .cc-cart-details-block .cc-cart-details-value { text-align: right; }

/* Landing page promo bar: compact on phones (was 123px tall). funnel.js pins the header right below it. */
@media (max-width: 991px) {
  .banner.mobile-banner { padding: 4px 0 !important; }
  .banner.mobile-banner .bottom-bar { padding: 4px 12px !important; }
  .banner.mobile-banner .order-text { font-size: 12px !important; line-height: 14px !important; }
  .banner.mobile-banner .timer-wrapper { margin-top: 3px; }
  .banner.mobile-banner .code { padding: 1px 8px !important; line-height: 20px !important; font-size: 12px !important; }
}

/* Bundle page --------------------------------------------------------------------------------------- */
/* No "TARIFF FREE" badges anywhere */
.tariff-box, .cs2-tariff-badge, .checkout-footer .cta-head { display: none !important; }
/* Button spinners sit centred over the whole button (the hidden label kept pushing them right) */
[data-next-action] { position: relative; }
[data-next-action] .submit-button__loader { position: absolute !important; inset: 0; justify-content: center; align-items: center; }
/* Size picker as large as the colour picker (56px, 16px text) */
select.cs2-select--size { height: 56px !important; font-size: 16px !important; font-weight: 500 !important; color: #222 !important; padding-left: 14px !important; }
*:has(> select.cs2-select--size) { min-height: 56px !important; height: auto !important; border: 1px solid #d0d0d0 !important; border-radius: 8px !important; background: #fff !important; }
/* Size chart pop-up opened by funnel.js (its original script never faded it in and froze scrolling) */
pageblock-modal.pf-open [data-pb-modal="overlay"], pageblock-modal.pf-open [data-pb-modal="sheet"] { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
pageblock-modal.pf-open [data-pb-modal="sheet"] { max-height: 90vh; overflow-y: auto; }

/* PayPal's express button is gone; let Apple Pay and Google Pay share the row evenly. */
.express__btns { display: flex; gap: 10px; }
.express__btns > button { flex: 1 1 0; min-width: 0; justify-content: center; }

#pf-card { min-height: 120px; margin: 4px 0 6px; }
#pf-branding { width: 100%; min-height: 28px; margin-top: 10px; }

.pf-invalid { border-color: #e22120 !important; }
.pf-error {
  display: none;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff1f0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.4;
}

.pf-busy { opacity: 0.65; pointer-events: none; position: relative; }
.pf-busy::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: pf-spin 0.7s linear infinite;
}
@keyframes pf-spin { to { transform: rotate(360deg); } }

/* No tax is charged for now: hide the receipt's Sales Tax row */
#cc-id-4NfSC1g2TNu9, span.salesTax { display: none !important; }
