/* Phoenix Contact theme layer
   Aligns empro-www with phoenixcontact.com (Service & Support pages).
   Loaded after styles.css; base.css and styles.css stay untouched. */

:root {
  --pxc-teal: #0098a1;          /* links, accents */
  --pxc-teal-dark: #00838a;     /* primary buttons */
  --pxc-teal-darker: #005f66;   /* button hover */
  --pxc-teal-light: #e5f3f4;
  --pxc-gray-100: #f2f4f6;
  --pxc-gray-300: #e1e5e9;
  --pxc-gray-600: #666a6e;
  --pxc-gray-800: #3a3a3a;
  --pxc-shadow-raised: 0 4px 8px 0 rgba(32, 32, 32, 0.3);
  --pxc-shadow-teaser: 0 0 3px 0 rgba(0, 0, 0, 0.18);
}

/* Header: full-bleed like phoenixcontact.com */
.container-fluid:has(> .global-header) {
  padding-right: 0;
  padding-left: 0;
}

.global-header {
  padding-left: 24px;
}

/* Buttons: 4px radius, dark teal, raised shadow */
.btn {
  border-radius: 4px;
}

.btn-primary {
  --bs-btn-bg: var(--pxc-teal-dark);
  --bs-btn-border-color: var(--pxc-teal-dark);
  --bs-btn-hover-bg: var(--pxc-teal-darker);
  --bs-btn-hover-border-color: var(--pxc-teal-darker);
  --bs-btn-active-bg: var(--pxc-teal-darker);
  --bs-btn-active-border-color: var(--pxc-teal-darker);
  background-color: var(--pxc-teal-dark);
  border-color: var(--pxc-teal-dark);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--pxc-teal-darker);
  border-color: var(--pxc-teal-darker);
}

/* Form fields: square, like the phoenixcontact.com search bar */
.form-control,
.form-select {
  border-radius: 0;
}

/* Unify teal accents from styles.css */
.icon,
.carousel-control-icon-testimonial,
.wbm-eyebrow,
.wbm-selection-summary__confidence,
.wbm-selection-summary__reset {
  color: var(--pxc-teal);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--pxc-teal);
}

/* WBM finder: square panels and teaser-style cards */
.wbm-finder__controls,
.wbm-selection-summary,
.wbm-empty-state {
  border-radius: 0;
}

.wbm-finder__controls {
  box-shadow: var(--pxc-shadow-teaser);
}

.wbm-product-card {
  border: 0;
  border-radius: 0;
  box-shadow: var(--pxc-shadow-teaser);
}

.wbm-hero__image img {
  border-radius: 0;
}

.wbm-filter {
  border-radius: 4px;
}

.wbm-filter:hover,
.wbm-filter:focus {
  border-color: var(--pxc-teal);
}

.wbm-filter.is-active {
  background: var(--pxc-teal);
  border-color: var(--pxc-teal);
}

.wbm-badge,
.wbm-selection-summary__token {
  color: var(--pxc-teal-darker);
  background: var(--pxc-teal-light);
  border-radius: 0;
}

.wbm-badge--muted {
  color: #4b4f54;
  background: #eef1f3;
}
