/* TokenVault checkout — block + classic */

body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-order-received {
  color: var(--text, #e8f4ec);
}

/* Hide fake sale UI if anything slips through */
.wc-block-components-product-price__value.is-discounted,
.wc-block-components-product-price del,
.wc-block-components-product-metadata__description,
.wc-block-components-sale-badge,
.woocommerce-Price-amount del,
.cart_item del,
.wc-block-cart-item__prices del,
.wc-block-components-product-price__regular {
  display: none !important;
}

.wc-block-components-product-price__value {
  color: var(--mint, #3dff9a) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Order summary */
.wc-block-components-sidebar,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout__sidebar {
  background: rgba(22, 36, 31, 0.85) !important;
  border: 1px solid rgba(232, 244, 236, 0.12) !important;
  border-radius: 18px !important;
  padding: 1rem !important;
}

.wc-block-components-totals-wrapper,
.wc-block-components-totals-item,
.wc-block-components-product-name,
.wc-block-components-order-summary__button-text,
.wc-block-components-checkout-order-summary__title,
.wp-block-woocommerce-checkout-order-summary-block h2 {
  color: #e8f4ec !important;
}

.wc-block-components-totals-item__description,
.wc-block-components-product-metadata {
  color: #93a89c !important;
}

/* Form fields — readable labels + inputs */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox input,
.wc-block-components-combobox-control input,
.wc-block-components-select select,
.wc-block-components-country-input select,
.wc-block-components-state-input select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
  background: #101a16 !important;
  color: #e8f4ec !important;
  border: 1px solid rgba(232, 244, 236, 0.18) !important;
  border-radius: 12px !important;
  min-height: 3rem;
  box-shadow: none !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-checkbox label,
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__description,
.woocommerce form .form-row label,
.wc-block-components-checkout-step__title,
.wc-block-components-checkout-step__description,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title {
  color: #c5d6cb !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input label {
  color: #93a89c !important;
  opacity: 1 !important;
}

.wc-block-components-text-input input::placeholder,
.woocommerce form .form-row input::placeholder {
  color: #6f8378 !important;
  opacity: 1 !important;
}

.wc-block-components-text-input input:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: rgba(61, 255, 154, 0.55) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(61, 255, 154, 0.12) !important;
}

/* Payment */
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option,
.wc-block-components-radio-control__option-layout {
  background: rgba(16, 26, 22, 0.9) !important;
  border-color: rgba(232, 244, 236, 0.14) !important;
  border-radius: 14px !important;
  color: #e8f4ec !important;
}

.wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control-accordion-option--checked-active {
  border-color: rgba(61, 255, 154, 0.5) !important;
}

/* Hide coupon UI for voucher flow (also disabled in PHP) */
.wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wc-block-components-totals-coupon,
.woocommerce-form-coupon-toggle,
.checkout_coupon {
  display: none !important;
}

/* Place order */
.wc-block-components-checkout-place-order-button,
.wc-block-components-button:not(.is-link) {
  background: #3dff9a !important;
  color: #062216 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.wc-block-components-checkout-place-order-button:hover {
  filter: brightness(1.05);
}

/* Classic checkout headings */
.woocommerce-checkout h1,
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.wp-block-woocommerce-checkout h1,
.wp-block-woocommerce-checkout h2 {
  color: #e8f4ec !important;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.03em;
}

/* Tighten page shell */
.woocommerce-checkout .tv-shell,
.woocommerce-cart .tv-shell {
  padding-top: 1.5rem;
}

/* Address fields we keep optional but may still render in blocks — soften */
.wc-block-components-address-form {
  gap: 0.75rem !important;
}
