/* Shared header sizing for the catalog, services, offer and payment pages. */
.site-header .header-inner {
  column-gap: clamp(12px, 2vw, 28px);
}
.site-header .brand {
  flex: 0 0 auto;
  min-width: 0;
}
.site-header .brand img {
  width: 282px;
  max-width: 100%;
  height: auto;
}
.site-header .header-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.site-header :is(.header-social-block, .header-phone, .header-contact-actions) {
  flex-shrink: 0;
}
.site-header .header-social-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 6px;
  width: 170px;
  min-width: 0;
}
.site-header .header-contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.site-header .header-contact-actions .rental-account-link {
  flex: 0 0 auto;
}
.header-social-block .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}
.header-social-block .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 7px;
  border: 1px solid #2d2d32;
  border-radius: 4px;
  color: #ed0033;
  transition: color .2s, border-color .2s, background .2s;
}
.header-social-block .social-links svg { flex: none; width: 17px; height: 17px; }
.header-social-block .social-links span { display: none; }
.header-social-block .social-links a:hover { color: #ff4165; border-color: #ed0033; background: #22070d; }
.header-social-block .social-links a:focus-visible { outline: 2px solid #ff4165; outline-offset: 3px; }
.header-rental-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #aaaab4;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 1150px) {
  .site-header .brand img { width: 238px; }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    row-gap: 14px;
  }
  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    align-self: start;
    min-height: 38px;
  }
  .site-header .header-social-block {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin-left: 0;
  }
  .site-header .header-contact-actions {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    min-height: 38px;
  }
  .site-header .header-rental-label { position: static; }
  .site-header .header-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 800px) {
  .site-header .brand img { width: 236px; }
}
@media (max-width: 800px) {
  .site-header .header-inner:has(.header-social-block) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 8px;
    padding-block: 16px;
  }
  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    align-self: start;
    min-height: 38px;
  }
  .site-header .header-contact-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    min-height: 0;
  }
  .site-header .header-social-block {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }
  .site-header .header-rental-label { position: static; }
  .site-header .header-links {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}
@media (max-width: 520px) {
  .site-header .brand img { width: 211px; }
}
@media (max-width: 400px) {
  .site-header .brand { min-height: 34px; }
  .site-header .header-social-block { width: 140px; }
  .header-social-block .social-links { gap: 4px; }
  .header-social-block .social-links a { flex-basis: 32px; width: 32px; height: 34px; min-height: 34px; padding: 5px; }
  .header-social-block .social-links svg { width: 15px; height: 15px; }
}
