:root {
  --rwmh-height: 64px;
  --rwmh-item-height: 40px;
}

.rwm-electricity-global-header {
  --rwmh-bg: #0b0c0e;
  --rwmh-border: rgba(255, 255, 255, 0.08);
  --rwmh-text: #ffffff;
  --rwmh-gold: #c7a45b;
  --rwmh-gold-dark: #2a1b00;
  --rwmh-ghost: rgba(255, 255, 255, 0.25);
}

.site-announcement {
  position: relative;
  background: linear-gradient(90deg, #0a0b0d 0%, #101622 50%, #0a0b0d 100%);
  color: #f5f1e8;
  border-bottom: 1px solid rgba(199, 164, 91, 0.35);
  font-family: "Vesper Libre", serif;
  margin-top: -26px;
  padding-top: 0;
}

.site-announcement__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-announcement__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(199, 164, 91, 0.18);
  border: 1px solid rgba(199, 164, 91, 0.55);
  color: #e7c882;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.site-announcement__text {
  color: rgba(245, 241, 232, 0.9);
  font-weight: 500;
}

.rwm-electricity-global-header {
  background: var(--rwmh-bg);
  border-bottom: 1px solid var(--rwmh-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  font-family: "Vesper Libre", serif;
}

.rwm-electricity-global-header .rwm-electricity-global-header__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 4px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  min-height: var(--rwmh-height);
  flex-wrap: nowrap;
}

.rwm-electricity-global-header .rwm-egh-navwrap {
  min-width: 0;
}

.rwm-electricity-global-header .rwm-egh-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.rwm-electricity-global-header .rwm-egh-logo img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid #f5f5f5;
  background: #ffffff;
  object-fit: cover;
}

body.electricity-body,
body.dash-body {
  padding-top: var(--rwmh-height);
}

.rwm-electricity-global-header .rwm-egh-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--rwmh-ghost);
  background: transparent;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
  margin-inline-start: auto;
}

.rwm-electricity-global-header .rwm-egh-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rwmh-text);
  border-radius: 999px;
}

.rwm-electricity-global-header .rwm-egh-navwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 24px;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
}

.rwm-electricity-global-header .rwm-egh-left,
.rwm-electricity-global-header .rwm-egh-right {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.rwm-electricity-global-header .rwm-egh-left {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.rwm-electricity-global-header .rwm-egh-right {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 16px;
}

.rwm-electricity-global-header .rwm-egh-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 0 1 auto;
  white-space: nowrap;
  min-width: 0;
}

.rwm-electricity-global-header .rwm-egh-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.rwm-electricity-global-header .rwm-egh-link {
  color: var(--rwmh-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding-inline: 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Vesper Libre", serif;
  transition: color 0.2s ease;
}

.rwm-electricity-global-header .rwm-egh-link-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.rwm-electricity-global-header .rwm-egh-link:hover,
.rwm-electricity-global-header .rwm-egh-link:focus-visible {
  color: var(--rwmh-gold);
}

.rwm-electricity-global-header .rwm-egh-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 20, 24, 0.98), rgba(12, 14, 17, 0.98));
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 6;
}

.rwm-electricity-global-header .rwm-egh-dropdown-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rwm-electricity-global-header .rwm-egh-dropdown-link:hover,
.rwm-electricity-global-header .rwm-egh-dropdown-link:focus-visible {
  background: rgba(199, 164, 91, 0.14);
  color: #f0d490;
  transform: translateX(2px);
}

.rwm-electricity-global-header .rwm-egh-dropdown:hover .rwm-egh-dropdown-menu,
.rwm-electricity-global-header .rwm-egh-dropdown:focus-within .rwm-egh-dropdown-menu,
.rwm-electricity-global-header .rwm-egh-dropdown.is-open .rwm-egh-dropdown-menu {
  display: flex;
}

.rwm-electricity-global-header .rwm-egh-lang {
  position: relative;
  margin-inline-start: 0;
  padding-inline-start: 0;
  border-inline-start: 0;
  width: 56px;
  flex: 0 0 56px;
}

.rwm-electricity-global-header .rwm-egh-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rwmh-ghost);
  background: rgba(255, 255, 255, 0.02);
  color: var(--rwmh-text);
  border-radius: 999px;
  padding: 0;
  height: var(--rwmh-item-height);
  min-height: var(--rwmh-item-height);
  width: 56px;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rwm-electricity-global-header .rwm-egh-lang-trigger:hover,
.rwm-electricity-global-header .rwm-egh-lang-trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
}

.rwm-electricity-global-header .rwm-egh-lang-caret {
  font-size: 10px;
  opacity: 0.8;
}

.rwm-electricity-global-header .rwm-egh-lang-icon svg {
  width: 16px;
  height: 16px;
}

.rwm-electricity-global-header .rwm-egh-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: #0f1114;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.rwm-electricity-global-header .rwm-egh-lang:hover .rwm-egh-lang-menu,
.rwm-electricity-global-header .rwm-egh-lang:focus-within .rwm-egh-lang-menu {
  display: flex;
}

.rwm-electricity-global-header .rwm-egh-lang-option {
  border: 1px solid transparent;
  background: transparent;
  color: var(--rwmh-text);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rwm-electricity-global-header .rwm-egh-lang-option:hover,
.rwm-electricity-global-header .rwm-egh-lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.rwm-electricity-global-header .rwm-egh-lang-option.is-active {
  background: var(--rwmh-gold);
  color: var(--rwmh-gold-dark);
  border-color: var(--rwmh-gold);
}

.rwm-electricity-global-header .rwm-egh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  min-height: var(--rwmh-item-height);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  text-decoration: none;
  font-family: "Vesper Libre", serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

html[lang="ar"] .rwm-electricity-global-header .rwm-egh-btn {
  font-family: "Cairo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.2;
}

html[lang="sv"] .rwm-electricity-global-header .rwm-egh-link,
html[lang="sv"] .rwm-electricity-global-header .rwm-egh-btn {
  letter-spacing: 0.08em;
}

.rwm-electricity-global-header .rwm-egh-btn-compact {
  padding: 12px 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.rwm-electricity-global-header .rwm-egh-btn-primary {
  background: var(--rwmh-gold);
  color: var(--rwmh-gold-dark);
  border: 1px solid transparent;
  box-shadow: 0 10px 20px rgba(199, 164, 91, 0.25);
}

.rwm-electricity-global-header .rwm-egh-btn-primary:hover,
.rwm-electricity-global-header .rwm-egh-btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(199, 164, 91, 0.35);
}

.rwm-electricity-global-header .rwm-egh-btn-ghost {
  color: var(--rwmh-text);
  border: 1px solid var(--rwmh-ghost);
  background: rgba(255, 255, 255, 0.03);
}

.rwm-electricity-global-header .rwm-egh-btn-ghost:hover,
.rwm-electricity-global-header .rwm-egh-btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
}

[dir="rtl"] .rwm-electricity-global-header {
  direction: rtl;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-electricity-global-header__inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-navwrap {
  flex-direction: row-reverse;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-logo {
  order: 3;
  margin-inline-start: auto;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-toggle {
  order: 2;
  margin-inline-start: 0;
  margin-inline-end: auto;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-navwrap {
  order: 1;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-left {
  order: 2;
  justify-content: flex-start;
  direction: rtl;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-right {
  order: 1;
  justify-content: flex-start;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-nav {
  direction: rtl;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-nav {
  direction: rtl;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-lang {
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-lang-menu {
  right: auto;
  left: 0;
  text-align: right;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-dropdown-menu {
  left: auto;
  right: 0;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-lang-option {
  text-align: right;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-dropdown-link {
  text-align: right;
}

[dir="rtl"] .rwm-electricity-global-header .rwm-egh-navwrap,
[dir="rtl"] .rwm-electricity-global-header .rwm-egh-nav,
[dir="rtl"] .rwm-electricity-global-header .rwm-egh-left,
[dir="rtl"] .rwm-electricity-global-header .rwm-egh-right {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 1280px) {
  .rwm-electricity-global-header .rwm-egh-right {
    gap: 12px;
    flex-wrap: wrap;
  }

  .rwm-electricity-global-header .rwm-egh-btn {
    padding: 10px 18px;
    letter-spacing: 0.16em;
  }

  .rwm-electricity-global-header .rwm-egh-btn-compact {
    padding: 10px 20px;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 1200px) {
  .rwm-electricity-global-header .rwm-egh-nav {
    gap: 22px;
  }

  .rwm-electricity-global-header .rwm-egh-btn {
    padding: 11px 22px;
    letter-spacing: 0.18em;
  }

  .rwm-electricity-global-header .rwm-egh-btn-compact {
    padding: 10px 20px;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 980px) {
  .rwm-electricity-global-header .rwm-electricity-global-header__inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .rwm-electricity-global-header .rwm-egh-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .rwm-electricity-global-header .rwm-egh-navwrap {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease;
    opacity: 0;
    padding: 0 2px;
    border-radius: 18px;
  }

  .rwm-electricity-global-header .rwm-egh-left,
  .rwm-electricity-global-header .rwm-egh-right {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
  }

  .rwm-electricity-global-header.is-open .rwm-egh-navwrap {
    max-height: 80vh;
    padding: 16px 14px 18px;
    opacity: 1;
    background: #0f1114;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }

  .rwm-electricity-global-header .rwm-egh-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .rwm-electricity-global-header .rwm-egh-link,
  .rwm-electricity-global-header .rwm-egh-link-button {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.2em;
    justify-content: space-between;
    width: 100%;
  }

  .rwm-electricity-global-header .rwm-egh-right {
    gap: 12px;
  }

  .rwm-electricity-global-header .rwm-egh-nav-item {
    width: 100%;
    display: block;
  }

  .rwm-electricity-global-header .rwm-egh-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .rwm-electricity-global-header .rwm-egh-dropdown-link {
    min-height: 42px;
    padding: 10px 12px;
    letter-spacing: 0.12em;
  }

  .rwm-electricity-global-header .rwm-egh-lang {
    width: 100%;
    flex: 0 0 auto;
  }

  .rwm-electricity-global-header .rwm-egh-lang-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0 16px;
  }

  .rwm-electricity-global-header .rwm-egh-lang-menu {
    position: static;
    margin-top: 10px;
    display: flex;
  }

  .site-announcement__inner {
    padding: 10px 18px;
    flex-direction: column;
    gap: 6px;
    letter-spacing: 0.06em;
  }

  [dir="rtl"] .rwm-electricity-global-header .rwm-electricity-global-header__inner {
    flex-direction: row;
  }

  [dir="rtl"] .rwm-electricity-global-header .rwm-egh-logo {
    order: 1;
    margin-inline-start: 0;
  }

  [dir="rtl"] .rwm-electricity-global-header .rwm-egh-toggle {
    order: 2;
    margin-inline-start: auto;
    margin-inline-end: 0;
  }

  [dir="rtl"] .rwm-electricity-global-header .rwm-egh-navwrap {
    order: 3;
    flex-direction: column;
  }

  [dir="rtl"] .rwm-electricity-global-header .rwm-egh-left,
  [dir="rtl"] .rwm-electricity-global-header .rwm-egh-right,
  [dir="rtl"] .rwm-electricity-global-header .rwm-egh-nav {
    direction: rtl;
    align-items: stretch;
    justify-content: flex-start;
    text-align: right;
  }
}

@media (max-width: 600px) {
  .rwm-electricity-global-header .rwm-egh-logo img {
    width: 38px;
    height: 38px;
  }

  .rwm-electricity-global-header .rwm-egh-btn {
    width: 100%;
    justify-content: center;
  }

  .site-announcement__inner {
    font-size: 11px;
  }
}
