@media screen {
  html { scroll-padding-top: max(7rem, calc(var(--masthead-height, 0px) + 1rem)); }
  .masthead {
    background: #18242c;
    color: #fff;
    border-top: 0;
    border-bottom: 4px solid #205e71;
    --ink: #fff;
    --quiet: #fff;
    --orange: #fff;
  }
  .masthead.is-floating {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2;
    background: rgb(24 36 44 / 75%);
  }
  .masthead.is-floating + .masthead-spacer { height: var(--masthead-height); }
  .masthead a { color: inherit; }
  .masthead a:hover { text-decoration: underline; }
  .masthead a:focus-visible { outline-color: #fff; }
}
.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--orange, #bc421f);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover:enabled { background: #983115; }
.primary:disabled { opacity: .6; cursor: default; }
@media (max-width: 740px) {
  .primary { padding-inline: 12px; font-size: 13px; }
}
.site-brand img {
  display: block;
  width: 110px;
  height: auto;
}
.site-header-row .masthead-label,
.site-header-row .catalog-link {
  font-size: .75rem;
  line-height: 1.3;
}
.site-header-row .grid-icon { flex-shrink: 0; }
.site-header-row { column-gap: clamp(14px, 2vw, 30px); }
.site-header-row .section-nav { gap: clamp(12px, 1.6vw, 24px); }
.header-contacts {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-inline-start: auto;
  font-size: .875rem;
  line-height: 1.25;
  white-space: nowrap;
}
.header-contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: .2em;
}
.header-contacts a:hover,
.header-contacts a:focus-visible { text-decoration: underline; }
.header-contacts span { opacity: .55; }
@media (min-width: 701px) and (max-width: 990px) {
  .bar.site-header-row:has(.section-nav a) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0 1rem;
    padding-block: .4rem;
  }
  .bar.site-header-row:has(.section-nav a) .header-contacts {
    grid-column: 1 / -1;
    justify-self: end;
  }
  .bar.site-header-row:has(.section-nav a) .cart-link {
    grid-row: 1;
    grid-column: 4;
    justify-self: end;
  }
}
@media (max-width: 700px) {
  .site-header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: .85rem;
    row-gap: 0;
    padding-block: .25rem;
  }
  .site-header-row .masthead-label,
  .site-header-row .catalog-link { font-size: .71875rem; padding-inline-start: .85rem; }
  .header-contacts {
    grid-column: 1 / -1;
    justify-self: start;
    margin-inline-start: 0;
    gap: .5rem;
    font-size: .8125rem;
  }
}
.site-footer {
  color: #233942;
  background: #f1f5f5;
  border-top: 1px solid #d5dfe0;
}
.site-footer-inner {
  width: min(91%, 75rem);
  margin: 0 auto;
  padding-block: 2rem 1rem;
}
.site-footer-heading,
.site-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
}
.site-footer-heading h2 {
  margin: 0;
  color: #172e39;
  line-height: 1.3;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: normal;
}
.site-footer a {
  color: #23596b;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.site-footer a:hover { color: #123b49; }
.site-footer a:focus-visible,
.site-brand:focus-visible { outline: 3px solid #1381a6; outline-offset: 3px; }
.site-footer-links { font-size: .875rem; }
.site-footer-details {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 1rem 2rem;
  margin: 1.25rem 0;
  font-style: normal;
  font-size: .94rem;
  line-height: 1.6;
}
.site-footer-details div { display: grid; align-content: start; justify-items: start; }
.site-footer-details strong,
.site-footer-details .contact-phone { font-weight: 650; color: #172e39; }
.site-footer-links { border-top: 1px solid #d5dfe0; padding-top: .5rem; }
.site-footer-links a { display: inline-flex; gap: .3em; align-items: center; min-height: 40px; }
@media (max-width: 700px) {
  .site-brand img { width: 90px; }
  .site-footer-details { grid-template-columns: 1fr; gap: .9rem; }
}
