/* WooCommerce notices on Preferences / My Account */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: #d9aa93 !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  color: #d9aa93 !important;
}

/* Optional: soften the notice background */
.woocommerce-message,
.woocommerce-info {
  background: #f7efea !important;
}

/* Main spacing */
.ew-wellness-profile {
  margin-top: 10px;
}

.ew-wellness-profile h2 {
  margin-bottom: 24px;
}

/* Grid: two columns on desktop and tablet */
.ew-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 50px;
  align-items: start;
}

/* Grid: single column on mobile */
@media ( max-width: 767px ) {
  .ew-profile-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.ew-profile-section {
  min-width: 0;
}

.ew-profile-section h3 {
  margin-bottom: 10px;
}

.ew-help-text {
  margin-bottom: 12px;
  font-size: 0.95em;
  opacity: 0.8;
}

/* Inputs */
.ew-wellness-profile input[type="text"],
.ew-wellness-profile input[type="email"],
.ew-wellness-profile input[type="tel"],
.ew-wellness-profile input[type="number"],
.ew-wellness-profile textarea,
.ew-wellness-profile select {
  width: 100%;
  border-radius: 0px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d9aa93 !important;
  box-shadow: none !important;
}

.ew-wellness-profile input[type="text"]:focus,
.ew-wellness-profile input[type="email"]:focus,
.ew-wellness-profile input[type="tel"]:focus,
.ew-wellness-profile input[type="number"]:focus,
.ew-wellness-profile textarea:focus,
.ew-wellness-profile select:focus {
  border-color: #c98d78 !important;
  outline: none;
  box-shadow: 0 0 0 1px #c98d78 !important;
}

/* Checkbox / radio spacing */
.ew-wellness-profile label {
  line-height: 1.5;
}

.ew-wellness-profile input[type="checkbox"],
.ew-wellness-profile input[type="radio"] {
  margin-right: 8px;
  accent-color: #d9aa93;
  color: white;
}

/* Submit button */
.ew-wellness-profile button[type="submit"] {
  background: #d9aa93;
  color: #fff;
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  transition: 0.25s ease;
}

.ew-wellness-profile button[type="submit"]:hover {
  background: #c98d78;
  color: #fff;
}

.ew-conditional-field {
  display: none;
}