/* ============= Woo Special Orders – Form Styles ============= */
.woo-so-form{
  --wso-radius: 14px;
  --wso-gap: 18px;
  --wso-border:#e5e7eb;
  --wso-muted:#6b7280;
  --wso-bg:#ffffff;
  --wso-focus: rgba(59,130,246,.15);
  --wso-btn:#b87c47;          /* brandy/caramel tone (adjust for your brand) */
  --wso-btn-text:#fff;
  --wso-btn-hover:#9f693d;
  max-width: 980px;
  margin: 24px auto;
  background: var(--wso-bg);
  border: 1px solid var(--wso-border);
  border-radius: var(--wso-radius);
  padding: 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
}

.woo-so-form p{ margin:0 0 14px; }

.woo-so-form label{
  display:block;
  font-weight:600;
  color:#111827;
  margin-bottom:6px;
}

.woo-so-form input[type="text"],
.woo-so-form input[type="number"],
.woo-so-form input[type="url"],
.woo-so-form textarea{
  width:100%;
  border:1px solid #d1d5db;
  border-radius:10px;
  padding:12px 14px;
  background:#fff;
  font-size:16px;
  line-height:1.4;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.woo-so-form textarea{ min-height:140px; resize:vertical; }

.woo-so-form input:focus,
.woo-so-form textarea:focus{
  outline:0;
  border-color:#9ca3af;
  box-shadow:0 0 0 4px var(--wso-focus);
}

/* File input inline with hint */
.woo-so-form input[type="file"]{
  font-size:14px;
}

/* Button */
.woo-so-form .button,
.woo-so-form button[type="submit"]{
  display:inline-block;
  border:0;
  border-radius:999px;
  padding:12px 20px;
  background:var(--wso-btn);
  color:var(--wso-btn-text);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .05s ease, background .15s ease, box-shadow .15s ease;
}
.woo-so-form .button:hover,
.woo-so-form button[type="submit"]:hover{
  background:var(--wso-btn-hover);
  box-shadow:0 6px 14px rgba(0,0,0,.10);
}
.woo-so-form .button:active,
.woo-so-form button[type="submit"]:active{
  transform:translateY(1px);
}

/* Helper text */
.woo-so-help{ font-size:12px; color:var(--wso-muted); margin-top:6px; }

/* Layout */
.woo-so-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--wso-gap);
}
.woo-so-span-2{ grid-column:span 1; }

@media (min-width: 820px){
  .woo-so-grid{
    grid-template-columns: 1fr 1fr;
  }
  .woo-so-span-2{
    grid-column: span 2;
  }
}

/* If your theme adds tight input styles inside WooCommerce content areas, nudge spacing */
.woocommerce .woo-so-form input,
.woocommerce .woo-so-form textarea{
  margin:0;
}

/* Breadcrumb/Theme spacing guard (optional) */
.woo-so-form + *{ margin-top: 18px; }
