/* Restores styling and navigation the React bundle applied at runtime. */

[class*="BlockTileList__StyledHeaderContainer"],
[class*="BlockPromoCard__StyledHeaderContainer"] {
  text-align: center;
}

[class*="SubBlockPromoCard"] h2,
[class*="SubBlockPromoCard"] h2 p {
  color: #282937;
  text-align: center;
}

/* --- static header, rebuilt from the site's own mega-menu data --- */

.mirror-header {
  position: relative;
  z-index: 950;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e6;
}

.mirror-header * {
  box-sizing: border-box;
}

.mirror-header__utility {
  background: #72246c;
  color: #ffffff;
}

.mirror-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mirror-header__utility .mirror-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  min-height: 44px;
  font-size: 0.875rem;
}

.mirror-header__utility a {
  color: #ffffff;
  text-decoration: none;
}

.mirror-header__utility a:hover {
  text-decoration: underline;
}

.mirror-header__main {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.mirror-header__logo img {
  display: block;
  width: 220px;
  height: auto;
}

.mirror-header__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  max-width: 620px;
  border: 1px solid #bbbcbc;
  border-radius: 999px;
  padding: 0.625rem 1.25rem;
}

.mirror-header__search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1.0625rem;
  color: #282937;
  background: transparent;
}

.mirror-header__auth {
  display: flex;
  gap: 0.75rem;
}

.mirror-header__auth a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid #72246c;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.mirror-header__auth a:first-child {
  background: #72246c;
  color: #ffffff;
}

.mirror-header__auth a:last-child {
  background: #ffffff;
  color: #72246c;
}

.mirror-header__nav {
  border-top: 1px solid #e5e5e6;
}

.mirror-header__nav .mirror-header__inner {
  display: flex;
  flex-wrap: wrap;
}

.mirror-nav__item {
  position: static;
}

.mirror-nav__label {
  display: block;
  padding: 1.125rem 0.8125rem;
  font-size: 1rem;
  color: #282937;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.mirror-nav__item:hover .mirror-nav__label {
  color: #72246c;
  border-bottom-color: #72246c;
}

.mirror-nav__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-top: 1px solid #e5e5e6;
  padding: 0;
  z-index: 950;
}

.mirror-nav__item:hover .mirror-nav__panel {
  display: block;
}

.mirror-nav__tabbed-container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  min-height: 380px;
}

.mirror-nav__sidebar {
  width: 340px;
  flex-shrink: 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-right: 1px solid #e5e5e6;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mirror-nav__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0.85rem 1.25rem 0.85rem 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 600;
  color: #282937;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s ease;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

.mirror-nav__tab:hover,
.mirror-nav__tab.is-active {
  color: #72246c;
  background-color: transparent;
}

.mirror-nav__tab.is-active {
  font-weight: 700;
}

.mirror-nav__tab-chevron {
  width: 8px;
  height: 12px;
  margin-left: 0.75rem;
  flex-shrink: 0;
  color: #282937;
  transition: color 0.15s ease;
}

.mirror-nav__tab:hover .mirror-nav__tab-chevron,
.mirror-nav__tab.is-active .mirror-nav__tab-chevron {
  color: #72246c;
}

.mirror-nav__content {
  flex: 1;
  padding: 2rem 3rem 2.5rem 3rem;
}

.mirror-nav__pane {
  display: none;
}

.mirror-nav__pane.is-active {
  display: block;
}

.mirror-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3.5rem;
  row-gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mirror-nav__grid li {
  margin: 0;
  padding: 0;
}

.mirror-nav__grid a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #282937;
  text-decoration: none;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

.mirror-nav__grid a:hover {
  color: #72246c;
  text-decoration: underline;
}

.mirror-nav__ext-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #5c5c66;
}

.mirror-nav__columns {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem 2rem;
  padding: 2rem 1.5rem;
}

.mirror-nav__col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #282937;
  margin: 0 0 0.75rem;
}

.mirror-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mirror-nav__list li {
  margin-bottom: 0.5rem;
}

.mirror-nav__list a {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #282937;
  text-decoration: none;
}

.mirror-nav__list a:hover {
  color: #72246c;
  text-decoration: underline;
}


@media only screen and (max-width: 991px) {
  .mirror-header__main {
    flex-wrap: wrap;
  }

  .mirror-header__search,
  .mirror-header__auth {
    width: 100%;
    max-width: none;
  }

  .mirror-nav__panel {
    position: static;
    box-shadow: none;
    padding: 1rem 0;
  }
}

/* ---- Header utility bar: currency + icons ---- */
.mirror-header__utility .mirror-header__inner { gap: 1.75rem; }
.mirror-util { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-size: 0.9375rem; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: Roboto, Arial, sans-serif; }
.mirror-util:hover { text-decoration: underline; color: #fff; }
.mirror-util svg { width: 18px; height: 18px; fill: currentColor; }
.mirror-util__currency { cursor: pointer; }
.mirror-util__sep { opacity: .4; }

/* ---- Nav dropdown carets ---- */
.mirror-nav__label { display: inline-flex; align-items: center; gap: 0.3rem; }
.mirror-nav__caret { width: 10px; height: 7px; flex: 0 0 auto; transition: transform .2s ease; }
.mirror-nav__item:hover .mirror-nav__caret { transform: rotate(180deg); }

/* ---- Floating widgets ---- */
.mw-feedback { position: fixed; right: 0; top: 55%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; z-index: 940; background: #72246c; color: #fff; border: 0; padding: 0.9rem 0.35rem; font-size: 0.8rem; letter-spacing: .02em; cursor: pointer; border-radius: 4px 0 0 4px; font-family: Roboto, Arial, sans-serif; }
.mw-feedback:hover { background: #9a205f; }
.mw-cookie { position: fixed; left: 1rem; bottom: 1.25rem; z-index: 940; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: #72246c; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.mw-cookie svg { width: 24px; height: 24px; fill: #fff; }
.mw-chat { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 940; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 0; background: #72246c; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.mw-chat svg { width: 26px; height: 26px; fill: #fff; }
.mw-chat__panel, .mw-cookie__panel { position: fixed; z-index: 941; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.3); padding: 1.25rem; width: 300px; display: none; font-family: Lato, Arial, sans-serif; color: #282937; }
.mw-chat__panel { right: 1.25rem; bottom: 5.25rem; }
.mw-cookie__panel { left: 1rem; bottom: 5.25rem; }
.mw-chat__panel.is-open, .mw-cookie__panel.is-open { display: block; }
.mw-panel__title { font-weight: 700; margin: 0 0 .5rem; }
.mw-panel__text { font-size: .875rem; line-height: 1.5; margin: 0 0 1rem; }
.mw-panel__btn { display: inline-block; background: #72246c; color: #fff; border: 0; border-radius: 2px; padding: .5rem 1rem; font-size: .8125rem; cursor: pointer; text-decoration: none; }

/* ---- Logged-in header: Become a Member + user menu ---- */
.mirror-header__auth--in { align-items: center; }
.mh-member { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; background: #72246c; color: #fff; border-radius: 2px; font-family: Roboto, Arial, sans-serif; font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mh-member:hover { background: #9a205f; color: #fff; }
.mh-user { position: relative; }
.mh-user__btn { display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 0; cursor: pointer; padding: 0.25rem 0.5rem; font-family: Roboto, Arial, sans-serif; color: #282937; }
.mh-user__name { font-size: 0.9375rem; font-weight: 500; line-height: 1.15; max-width: 8rem; text-align: left; }
.mh-user__btn .mirror-nav__caret { fill: #282937; }
.mh-user__panel { display: none; position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: 15rem; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22); border-radius: 4px; z-index: 960; padding: 0.5rem 0; }
.mh-user__panel.is-open { display: block; }
.mh-user__label { font-family: Roboto, Arial, sans-serif; font-weight: 500; color: #282937; padding: 0.75rem 1.25rem; margin: 0; border-bottom: 1px solid #e5e5e6; }
.mh-user__panel .mh-user__item { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.25rem; color: #282937; text-decoration: none; font-size: 0.95rem; border: 0 !important; border-bottom: 1px solid #e5e5e6 !important; border-radius: 0 !important; margin: 0 !important; }
.mh-user__panel .mh-user__item:last-child { border-bottom: 0 !important; }
.mh-user__panel .mh-user__item:hover { background: #f6f2f6; color: #72246c; }
.mh-user__item svg { width: 20px; height: 20px; fill: #72246c; flex: 0 0 auto; }
.mh-user__logout { color: #282937; font-weight: 400; }
