/* Dark checkout — classic form + WooCommerce checkout blocks. */

html:has(body.woocommerce-checkout),
body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-order-received,
body.woocommerce-page.woocommerce-checkout {
  background: #070b16 !important;
  color: #f8fafc !important;
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .page-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
  background: transparent !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  padding: 0 !important;
}

body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  color: #f8fafc !important;
}

body.woocommerce-checkout label,
body.woocommerce-checkout .woocommerce-form__label,
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-metadata {
  color: #9fb0c8 !important;
}

body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-blocks-components-select__select {
  background: rgba(0, 0, 0, .35) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  color: #f8fafc !important;
  border-radius: 10px !important;
  min-height: 46px;
  box-shadow: none !important;
}

body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder {
  color: #7c8aa0 !important;
}

body.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout #payment,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-sidebar {
  background: #0a1020 !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 16px !important;
  padding: 22px !important;
}

body.woocommerce-checkout .woocommerce-checkout #customer_details {
  margin-bottom: 24px;
}

@media (min-width: 960px) {
  body.woocommerce-checkout .col2-set {
    width: 100%;
  }
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    width: 100%;
  }
}

body.woocommerce-checkout table.shop_table,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-item {
  background: transparent !important;
  border-color: rgba(255, 255, 255, .08) !important;
  color: #e2e8f0 !important;
}

body.woocommerce-checkout .woocommerce-Price-amount,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-formatted-money-amount {
  color: #f8fafc !important;
}

body.woocommerce-checkout #place_order,
body.woocommerce-checkout button.button.alt,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: #2f6bff !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 14px 20px !important;
  font-weight: 600 !important;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-NoticeGroup,
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
  background: #0a1020 !important;
  border: 1px solid rgba(255, 59, 92, .35) !important;
  color: #f8fafc !important;
  border-radius: 12px !important;
}

body.woocommerce-checkout .t4rfp-pay-pending {
  background: rgba(47, 107, 255, .1) !important;
  border: 1px solid rgba(47, 107, 255, .35) !important;
  color: #e2e8f0 !important;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
}

body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .woocommerce-checkout-payment .create-account,
body.woocommerce-checkout #order_comments_field,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .wc-block-components-totals-coupon {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  color: #9fb0c8 !important;
  font-size: 12.5px;
}

body.woocommerce-checkout #payment ul.payment_methods {
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-checkout .select2-dropdown,
body.woocommerce-checkout .select2-container--default .select2-results__option {
  background: #10192d !important;
  color: #f8fafc !important;
}

body.woocommerce-checkout .woocommerce-invalid input,
body.woocommerce-checkout .woocommerce-invalid select {
  border-color: #ff3b5c !important;
}
