/* Showroom details in the header. */
#header { align-items: center; }
#header #poisk_and_infa.showroom-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 245px;
  height: auto;
  padding: 10px 0;
  margin: 0;
  color: #32261a;
  text-align: left;
}
#header .showroom-link {
  display: inline-block;
  padding: 4px 0;
  font-size: 16px;
  line-height: 1.4;
  color: #32261a;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
#header .showroom-link:hover { color: #997543; }
#header .showroom-address { font-size: 13px; line-height: 1.5; margin-top: 2px; }
#header .showroom-hours { font-size: 14px; line-height: 1.5; margin-top: 5px; }
#header .showroom-appointment { font-size: 13px; line-height: 1.5; color: #655b52; }
#header #korz_and_usl { height: auto; align-self: center; }
#header a:focus-visible { outline: 2px solid #997543; outline-offset: 3px; }
@media screen and (max-width: 991.99px) {
  #header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    gap: 14px 16px;
    width: 100%;
    max-width: 760px;
    height: auto;
    padding: 16px 16px 18px;
  }
  #header .logo {
    grid-column: 1 / -1;
    grid-row: 1;
    order: initial;
    width: 100%;
    margin: 0;
  }
  #header .logo img { width: 250px; max-width: 100%; height: auto; }
  #header #poisk_and_infa.showroom-info {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    min-width: 0;
    padding: 0;
    order: initial;
  }
  #header #korz_and_usl { display: contents; }
  #header #korz {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    margin: 0;
    align-self: center;
    justify-content: flex-end;
    order: initial;
  }
  #header #korz > div { margin: 0; }
  #header #korz .info-link { display: block; min-width: 56px; font-size: 13px; }
}
@media screen and (max-width: 360px) {
  #header { padding-right: 12px; padding-left: 12px; column-gap: 10px; }
}

@media screen and (max-width: 991.99px) {
  .tabMenu li span.v-mobile {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
    padding: 0 2px;
  }
}

@media screen and (max-width: 400px) {
  .tabMenu > li > a { font-size: 12px; letter-spacing: 0.3px; padding: 0 3px; }
  .tabMenu li span.v-mobile { padding: 0; letter-spacing: 0.3px; }
}

/* Preserve the conventional case of chemical symbols. */
.tabMenu li span.metal-symbol {
  display: inline;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}
.mod_latest_title .metal-symbol { text-transform: none; }
.tabMenu li span.v-mobile { text-transform: none; }

/* Lower the showroom label while keeping the schedule in place. */
#header .showroom-link { padding: 13px 0 0; }
#header .showroom-hours { margin-top: 0; }
