/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.merchant-pro-sc .input { margin: 0; }

/* Base fields */
.merchant-pro-sc input:not([type="submit"]),
.merchant-pro-sc select,
.merchant-pro-sc textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: inherit;
  font: inherit;
  line-height: 1.45;
  outline: none;
}

/* Placeholder & disabled */
.merchant-pro-sc input::placeholder,
.merchant-pro-sc textarea::placeholder { opacity: .65; }
.merchant-pro-sc input:disabled,
.merchant-pro-sc select:disabled,
.merchant-pro-sc textarea:disabled { opacity: .6; cursor: not-allowed; }

/* Focus state to match MP emphasis colors used elsewhere (#212121 / #ddd palette) */
.merchant-pro-sc input:focus,
.merchant-pro-sc select:focus,
.merchant-pro-sc textarea:focus {
  border-color: #212121;
  box-shadow: 0 0 0 3px rgba(33,33,33,.08);
}

/* Radios & checkboxes used by MP sections */
.merchant-pro-sc input[type="checkbox"],
.merchant-pro-sc input[type="radio"] {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 6px;
}

/* Woo/MP error text already uses .error; ensure it shows clearly */
.merchant-pro-sc .error { color: #a00; }

/* Coupon row alignment */
.merchant-pro-sc .merchant-pro-sc-coupon input { max-width: 100%; }

/* Submit button full width inside summary (matches MP’s layout intent) */
.merchant-pro-sc .merchant-pro-sc-cart-summary-item button[type="submit"],
.merchant-pro-sc .merchant-pro-sc-submit-button .button,
.merchant-pro-sc button[type="submit"].button {
  width: 100%;
}

/* Keep tables/summary typography clean */
.merchant-pro-sc table,
.merchant-pro-sc td,
.merchant-pro-sc th { border: none; }
