/* Tesla-inspired chrome — dark theme only (no light mode) */

html,
body.prob-site {
  --prob-header-bg: rgba(15, 18, 32, 0.92) !important;
  --prob-toggle-bg: #161a28 !important;
  --prob-toggle-burger: rgba(255, 255, 255, 0.9) !important;
  --prob-btn-outline-bg: rgba(22, 26, 40, 0.75) !important;
  --prob-bg-page: #0f1220 !important;
  --prob-bg-band: #141829 !important;
  --prob-bg-dark: #0a0b12 !important;
  --prob-wood: rgba(255, 255, 255, 0.78) !important;
  --prob-wood-light: #ffffff !important;
  --prob-text: rgba(255, 255, 255, 0.92) !important;
  --prob-text-muted: rgba(255, 255, 255, 0.55) !important;
  --prob-white: #161a28 !important;
  --prob-border: rgba(255, 255, 255, 0.1) !important;
  --prob-shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.35) !important;
  --prob-accent: #ffffff !important;
  --prob-accent-hover: #ffffff !important;
  --prob-accent-soft: rgba(255, 255, 255, 0.08) !important;
  --prob-green: #ffffff !important;
  --prob-nav-h: 72px !important;
  color-scheme: dark;
}

html.prob-theme-light,
body.prob-site.light-mode {
  /* Keep dark even if old light classes linger */
  --prob-header-bg: rgba(15, 18, 32, 0.92) !important;
  --prob-bg-page: #0f1220 !important;
  --prob-bg-band: #141829 !important;
  --prob-text: rgba(255, 255, 255, 0.92) !important;
  --prob-text-muted: rgba(255, 255, 255, 0.55) !important;
  --prob-wood: rgba(255, 255, 255, 0.78) !important;
  --prob-white: #161a28 !important;
  --prob-border: rgba(255, 255, 255, 0.1) !important;
  --prob-accent: #ffffff !important;
}

body.prob-site {
  background: #0f1220 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Hide theme toggle entirely */
.prob-theme-toggle,
#themeToggle {
  display: none !important;
}

/* —— Top utility bar —— */
body.prob-site .prob-topbar {
  background: #0a0b12 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem !important;
  letter-spacing: 0.02em;
}

body.prob-site .prob-topbar-inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0.4rem clamp(1rem, 3vw, 2rem) !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  min-height: 36px;
}

body.prob-site .prob-topbar-inner > span:first-child {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

body.prob-site .prob-topbar-actions {
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  min-width: 0 !important;
  min-height: 0 !important;
}

body.prob-site .prob-topbar a[href^="tel:"] {
  display: inline-flex !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

body.prob-site .prob-topbar a[href^="tel:"]:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.prob-site .prob-topbar .prob-social--top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.prob-site .prob-topbar .prob-social--top .prob-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

body.prob-site .prob-topbar .prob-social--top .prob-social__link:hover,
body.prob-site .prob-topbar .prob-social--top .prob-social__link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.prob-site .prob-topbar .prob-social--top .prob-social__icon {
  width: 0.95rem;
  height: 0.95rem;
}

@media (max-width: 1099px) {
  body.prob-site .prob-topbar .prob-topbar-actions,
  body.prob-site .prob-topbar a[href^="tel:"] {
    display: flex !important;
  }
  body.prob-site .prob-topbar-inner {
    justify-content: space-between !important;
    flex-wrap: wrap;
  }
}

/* —— Main header (Tesla-like, dark) —— */
body.prob-site .prob-header {
  position: sticky;
  top: 0;
  z-index: 900;
  overflow: visible !important;
  background: rgba(15, 18, 32, 0.92) !important;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

body.prob-site .prob-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  background: rgba(15, 18, 32, 0.96) !important;
}

body.prob-site .prob-header .prob-header-inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0.55rem clamp(1rem, 3vw, 2rem) !important;
  min-height: 64px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 1rem !important;
  justify-items: stretch !important;
}

body.prob-site .prob-header .prob-header-start {
  justify-self: start !important;
  transform: none !important;
  margin: 0 0 0 16px !important;
}

body.prob-site .prob-header .prob-logo--mark-only img {
  height: 28px !important;
  width: auto !important;
  max-width: min(220px, 42vw) !important;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  object-fit: contain !important;
}

body.prob-site .prob-header.is-scrolled .prob-logo--mark-only img {
  height: 24px !important;
  margin: 0 !important;
  transform: none !important;
}

body.prob-site .prob-nav {
  display: none;
  justify-self: center !important;
  gap: 0.15rem 0.1rem !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
}

@media (min-width: 1100px) {
  body.prob-site .prob-nav {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }
}

body.prob-site .prob-nav > a,
body.prob-site .prob-nav .prob-nav-dropdown__trigger {
  padding: 0.45rem 0.7rem !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  font-family: inherit;
  letter-spacing: 0.01em;
  border-radius: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  position: relative;
}

body.prob-site .prob-nav button.prob-nav-dropdown__trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

body.prob-site .pb-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.prob-site .pb-mega .pb-ico {
  color: #f4f2fb;
}

body.prob-site .pb-ico--chev {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
  opacity: 0.8;
}

body.prob-site .prob-nav > a:hover,
body.prob-site .prob-nav .prob-nav-dropdown__trigger:hover,
body.prob-site .prob-nav > a:focus-visible {
  color: #fff !important;
  background: transparent !important;
}

body.prob-site .prob-nav > a.is-active {
  color: #fff !important;
  background: transparent !important;
  text-decoration: none !important;
}

body.prob-site .prob-nav > a.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 1px;
  background: #fff;
}

@media (min-width: 1100px) {
  body.prob-site .prob-header .prob-nav {
    align-self: stretch !important;
    align-items: stretch !important;
  }

  body.prob-site .prob-header .prob-nav > a {
    display: inline-flex;
    align-items: center;
  }

  body.prob-site .prob-header .prob-nav-dropdown {
    position: static;
    display: flex;
    align-items: center;
    align-self: stretch;
  }
}

body.prob-site .prob-header .prob-nav-dropdown > .pb-mega {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  min-width: 0;
  margin: 0;
  z-index: 50;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  padding: clamp(2.35rem, 3.6vw, 3.35rem) clamp(2.1rem, 4.5vw, 4.75rem) clamp(2rem, 3vw, 2.85rem) !important;
  background-color: #12162a !important;
  background-image: linear-gradient(180deg, #14182e 0%, #101428 100%) !important;
  color: #f4f2fb !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.42) !important;
}

body.prob-site .prob-header .prob-nav-dropdown.is-open > .pb-mega {
  display: flex !important;
}

body.prob-site .pb-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

body.prob-site .prob-header .prob-nav .prob-nav-dropdown.is-open > .prob-nav-dropdown__trigger,
body.prob-site.prob-home .prob-header .prob-nav .prob-nav-dropdown.is-open > .prob-nav-dropdown__trigger,
body.prob-site .prob-header .prob-nav .prob-nav-dropdown.is-open > .prob-nav-dropdown__trigger:hover,
body.prob-site.prob-home .prob-header .prob-nav .prob-nav-dropdown.is-open > .prob-nav-dropdown__trigger:hover {
  background: #1a1f36 !important;
  color: #f4f2fb !important;
  border-radius: 4px !important;
}

body.prob-site .prob-nav .prob-nav-dropdown.is-open > .prob-nav-dropdown__trigger::before,
body.prob-site .prob-nav .prob-nav-dropdown.is-open > .prob-nav-dropdown__trigger::after {
  content: none !important;
}

body.prob-site .pb-mega__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.75rem;
}

body.prob-site .pb-mega__rows {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

body.prob-site .pb-mega__products {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(1.15rem, 2.6vw, 2.75rem);
}

body.prob-site .pb-mega__product {
  flex: 0 1 13.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.prob-site .pb-mega__shot {
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  height: 138px;
  padding: 0.7rem 0.85rem 0.45rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  color: #f4f2fb !important;
  background-color: #181c34 !important;
  background-image: radial-gradient(ellipse at 50% 42%, #1e2440 0%, #161a32 100%) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body.prob-site .pb-mega__shot img {
  display: block;
  width: auto;
  max-width: 92%;
  height: auto;
  max-height: 108px;
  object-fit: contain;
  background: transparent;
}

body.prob-site .pb-mega__name {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  margin-top: 1.05rem;
  padding: 0 !important;
  color: #f4f2fb !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.045em !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

body.prob-site .pb-mega__actions {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  margin: 0.55rem 0 0;
}

body.prob-site .pb-mega__actions a,
body.prob-site .pb-mega__quiet a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  width: auto !important;
  min-width: 0 !important;
  padding: 0.1rem 0.15rem !important;
  color: #d9d2f6 !important;
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.prob-site .pb-mega__actions a:hover,
body.prob-site .pb-mega__actions a:focus-visible,
body.prob-site .pb-mega__quiet a:hover,
body.prob-site .pb-mega__quiet a:focus-visible {
  color: #ffffff !important;
  background: transparent !important;
}

body.prob-site .pb-mega__quiet {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.35rem;
  padding-top: 0.15rem;
}

body.prob-site .pb-mega__quiet-label {
  margin: 0 0.55rem 0 0;
  color: #c9c2ee;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.prob-site .pb-mega__side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 12.5rem;
  padding: 0.15rem 0 0.15rem 2.35rem;
  border-left: 1px solid rgba(196, 188, 232, 0.32);
}

body.prob-site .pb-mega__side a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  width: auto !important;
  min-width: 0 !important;
  padding: 0.48rem 0.75rem !important;
  color: #f4f2fb !important;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

body.prob-site .pb-mega__links {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem 1.15rem;
}

body.prob-site .pb-mega__link {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  width: auto !important;
  min-width: 10.25rem !important;
  max-width: 15rem;
  margin: 0;
  padding: 1.05rem 1.15rem !important;
  color: #f4f2fb !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 18px !important;
}

body.prob-site .pb-mega__link:hover,
body.prob-site .pb-mega__link:focus-visible {
  color: #f4f2fb !important;
  background: rgba(110, 101, 195, 0.28) !important;
}

body.prob-site .pb-mega__link-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.25;
  color: #f4f2fb;
}

body.prob-site .pb-mega__link-title small {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #c9c2ee;
}

body.prob-site .pb-mega__link-note {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #c9c2ee;
}

body.prob-site .pb-mega__side a:hover,
body.prob-site .pb-mega__side a:focus-visible {
  color: #f4f2fb !important;
  background: rgba(110, 101, 195, 0.28) !important;
}

body.prob-site .prob-header-tools {
  justify-self: end !important;
  gap: 0.5rem !important;
  margin: 0 !important;
}

body.prob-site .prob-header-tools .prob-btn-primary {
  display: none;
  background: #fff !important;
  color: #0f1220 !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.15rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  border: none !important;
  margin-right: 16px !important;
}

body.prob-site .prob-header-tools .prob-btn-primary:hover {
  background: #f0f0f0 !important;
}

@media (min-width: 1100px) {
  body.prob-site .prob-header-tools .prob-btn-primary {
    display: inline-flex !important;
  }
  body.prob-site .prob-menu-toggle {
    display: none !important;
  }
}

body.prob-site .prob-menu-toggle {
  width: 40px !important;
  height: 40px !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

body.prob-site .prob-menu-toggle span {
  background: rgba(255, 255, 255, 0.9) !important;
  width: 18px !important;
}

body.prob-site .prob-mobile-nav,
body.prob-site .prob-mobile-nav-inner {
  background: #0f1220 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

body.prob-site .prob-mobile-nav a {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.prob-site .prob-mobile-nav .prob-btn-primary {
  background: #fff !important;
  color: #0f1220 !important;
  border-radius: 999px !important;
}

body.prob-site .prob-mobile-nav .prob-btn-outline {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  background: transparent !important;
  border-radius: 999px !important;
}

@media (max-width: 1099px) {
  body.prob-site .prob-header .prob-header-inner {
    grid-template-columns: 1fr auto !important;
    min-height: 56px !important;
    padding: 0.4rem 1rem !important;
  }
  body.prob-site .prob-header .prob-header-start {
    justify-self: start !important;
  }
  body.prob-site .prob-header .prob-header-tools {
    justify-self: end !important;
    margin-top: 0 !important;
  }
  body.prob-site .prob-header .prob-logo--mark-only img {
    height: 22px !important;
    max-width: min(180px, 48vw) !important;
    margin: 0 !important;
    transform: none !important;
  }
}
