/* CS Checkout Proof – UI บริเวณ Payment */
.cs-proof-wrap {
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed #d7d7d7;
  border-radius: 6px;
  background: #fafafa;
}
.cs-proof-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cs-proof-upload-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
}
.cs-proof-upload-btn input[type=file]{
  position:absolute;left:0;top:0;bottom:0;right:0;
  opacity:0;cursor:pointer;width:100%;height:100%;
}
.cs-proof-file-name{ font-size:12px; color:#555; }
.cs-proof-warning{
  display:none; margin-top:8px; color:#c00; font-size:13px;
}
.cs-proof-warning.active{ display:block; }

/* ทำให้ปุ่มทุกรูปแบบดู “ใช้ไม่ได้” ถ้าโดนสั่ง disabled */
button[disabled],
button[aria-disabled="true"],
.wc-block-components-button[aria-disabled="true"],
.cs-disabled-btn {
  opacity: .5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

/* กันบางธีมซ่อนไว้ใน wrapper */
.wc-block-components-checkout-place-order-button.is-disabled,
.wc-block-components-button__button.is-disabled {
  opacity: .5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}
