/* Page-body styles specific to this site, not covered by the shared
   bedliner-theme/assets/css/theme.css (header/hero/footer/nav/generic
   buttons/forms are all theme.css now — do not redefine those selectors
   here or they will silently override the shared look for this site only). */

:root {
  --text: #333333;
  --border: #cccccc;
  --error: #b3261e;
  --success: #1e6b3c;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-section { padding: 40px 0; border-bottom: 1px solid #eee; }
.content-section h2 { margin-top: 0; }
.section-image { max-width: 100%; height: auto; margin-top: 16px; }

.embed-page h1 { margin-top: 32px; }
.salesforce-embed {
  border: 1px solid var(--border);
  max-width: 100%;
  display: block;
  margin: 20px 0 40px;
}

.required { color: var(--error); }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid #1a4d8f;
  outline-offset: 2px;
}

form { max-width: 800px; margin: 24px 0 60px; }
.form-row { margin-bottom: 20px; }
.form-row-half { display: inline-block; width: 48%; vertical-align: top; }
.form-row-half:nth-of-type(odd) { margin-right: 4%; }
fieldset.form-row { border: 1px solid var(--border); padding: 16px; }
legend { font-weight: 600; padding: 0 8px; }

label { display: block; font-weight: 600; margin-bottom: 4px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(140px, auto) 80px 90px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.product-row label { margin: 0; }
.product-price { color: var(--text); }
.product-description { font-size: 0.9rem; color: #555; }

.form-status-success { color: var(--success); }
.form-status-error { color: var(--error); }

@media (max-width: 700px) {
  .form-row-half { width: 100%; margin-right: 0; }
  .product-row { grid-template-columns: 1fr; }
}
