.page-frame {
  max-width: 101.3rem;
  margin: .9375rem auto 1.9rem;
  width: calc(100% - 2 * var(--frame));
  background: #fff;
  border-radius: var(--radius);
}

.site-header {
  position: relative;
  z-index: 2;
}

.topbar,.main-header,.header-actions,.topbar nav,.desktop-nav,.nav-item,.topbar-announcement,.actions,.topbar-help {
  display: flex;
  align-items: center;
}

.topbar {
  min-height: 2.1875rem;
  padding: .25rem 1.125rem .25rem 1.65rem;
  gap: 1.45rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--bar);
  color: #fff;
  font-size: .57rem;
  font-weight: 500;
}

.topbar nav {
  gap: 1.2rem;
}

.topbar-announcement {
  border-left: 1px solid #97aec8;
  padding-left: 1.4rem;
  gap: .28rem;
}

.topbar-announcement button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
}

.topbar-announcement:focus-within button,.topbar-announcement:hover button {
  opacity: 1;
  max-width: 4.5rem;
}

.v-support-slot {
  margin-left: auto;
}

.v-support-tools {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.v-support-slot button,.v-support-tools a {
  background: transparent;
  color: inherit;
}

.v-support-tools svg {
  width: .72rem;
  height: .72rem;
  fill: currentColor;
}

.topbar-help {
  margin-left: auto;
  border: 1px solid #6baccd;
  border-radius: 2rem;
  gap: .2rem;
  padding: .16rem .48rem;
  white-space: nowrap;
}

.topbar-help .icon {
  width: .76rem;
  height: .76rem;
}

.main-header {
  min-height: 3.5625rem;
  padding: .4rem 1.2rem;
  gap: 1.25rem;
  justify-content: space-between;
}

.brand {
  flex: none;
}

.brand img {
  display: block;
  width: 7.45rem;
  height: auto;
}

.desktop-nav {
  justify-content: space-between;
  gap: .45rem;
  flex: 1;
  margin: 0 .3rem;
  font-size: clamp(11.5px, 1.07vw, 17px);
  font-weight: 550;
}

.nav-item {
  position: relative;
  white-space: nowrap;
  gap: .15rem;
}

.nav-expand,.icon-button,.v-arrows button {
  border: 0;
  background: transparent;
  display: inline-grid;
  place-items: center;
  padding: .12rem;
  color: var(--ink);
}

.nav-expand .icon {
  width: .58rem;
  height: .58rem;
}

.header-actions {
  gap: .78rem;
}

.icon-button .icon {
  width: 1.12rem;
  height: 1.12rem;
}

.header-actions a {
  position: relative;
}

.header-actions [data-count=cart]:not([hidden]) {
  clip-path: none;
  width: auto;
  height: auto;
  top: -.35rem;
  right: -.4rem;
  font-size: .48rem;
  min-width: .7rem;
  background: var(--orange);
  color: #fff;
  border-radius: 2rem;
  text-align: center;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 182px;
  max-width: min(270px, 80vw);
  padding: 7px;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: .6rem;
  box-shadow: 0 .55rem 1.8rem #00173525;
  z-index: var(--popup);
}

.nav-item:last-child .mega-menu {
  right: 0;
  left: auto;
}

.mega-menu h2 {
  padding: 6px 9px 8px;
  margin-bottom: 3px;
  border-bottom: 1px solid var(--edge);
  font-size: var(--menu-text);
  font-weight: 600;
  line-height: 1.35;
}
.mega-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: var(--menu-text);
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -.012em;
  white-space: normal;
}
.mega-menu a .icon { width: 14px; height: 14px; }
.mega-menu a:is(:hover, :focus-visible), .mobile-dialog nav a:is(:hover, :focus-visible) {
  color: #124e80;
  background: var(--ice);
}
.mobile-dialog nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  font-size: 14px;
  line-height: 1.4;
}
.mobile-dialog details {
  border-bottom: 1px solid var(--edge);
}
.mobile-dialog details[open] { padding-bottom: 6px; }
.mobile-dialog details a { padding-inline-start: 16px; }
.mobile-dialog summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: 15px;
  font-weight: 550;
  list-style: none;
}
.mobile-dialog summary::-webkit-details-marker { display: none; }
.mobile-dialog summary .icon { width: 15px; height: 15px; }
.mobile-dialog details[open] summary .icon { transform: rotate(45deg); }

.mobile-menu-toggle {
  display: none;
}

dialog {
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.3rem;
  color: var(--ink);
  width: min(31rem,94vw);
  max-height: 85vh;
}

dialog::backdrop {
  background: #00162d90;
}

.dialog-heading,.search-form,.search-shortcuts {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.dialog-heading {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dialog-heading img {
  width: 8rem;
  height: auto;
}

.search-form input {
  min-width: 0;
  flex: 1;
}

.search-shortcuts {
  flex-wrap: wrap;
  margin-top: .8rem;
}

.mobile-dialog summary {
  padding: .7rem 0;
  cursor: pointer;
}

.site-footer {
  margin: var(--section-space) .375rem 0;
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: .85rem 1.65rem .7rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(4,minmax(0,1fr));
  gap: .8rem;
}

.footer-brand {
  grid-row: 1;
}

.footer-brand img {
  width: 7rem;
  height: auto;
}

.footer-brand p {
  max-width: 12rem;
  margin-top: .35rem;
}

.footer-main nav h2 {
  font-size: .8rem;
  margin-bottom: .22rem;
}

.footer-main nav a,.footer-brand p {
  display: block;
  font-size: .62rem;
  line-height: 1.4;
}

.social-links {
  display: flex;
  gap: .45rem;
}

.social-links:empty {
  display: none;
}

.footer-contact {
  font-style: normal;
  border-block: 1px solid #ffffff26;
  padding: .65rem 0;
  margin-top: .5rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(8rem,1fr));
  gap: .6rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.contact-method__icon {
  display: grid;
  place-items: center;
  background: #ffffff12;
  color: #ff8a18;
  width: 1.85rem;
  height: 1.85rem;
  flex: none;
  border-radius: 50%;
}

.contact-method__body {
  font-size: .56rem;
  overflow-wrap: anywhere;
  line-height: 1.27;
}

.contact-method__label {
  display: block;
  font-size: .51rem;
  margin-bottom: .12rem;
}

.footer-bottom,.footer-bottom>div,.seo-footer-links {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}

.footer-bottom {
  padding-top: .5rem;
  justify-content: space-between;
  font-size: .53rem;
}

.footer-bottom button {
  border: 0;
  background: none;
  padding: 0;
  color: white;
}

.seo-footer-links {
  justify-content: center;
  font-size: .56rem;
  padding: .35rem .65rem;
  color: #264560;
}

.v-footer-details {
  position: relative;
}

.v-footer-details summary {
  cursor: pointer;
}

.v-footer-details[open] nav {
  display: grid;
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--navy);
  border: 1px solid #8293a7;
  border-radius: .5rem;
  width: max-content;
  padding: .6rem;
  color: white;
  font-size: .7rem;
}

.v-contact-groups {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.2fr 1.25fr;
  gap: .65rem;
}

.v-contact-group {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}

.v-contact-group p,.v-contact-group a {
  margin: 0;
  display: block;
  overflow-wrap: anywhere;
}

.v-contact-group strong {
  font-weight: 550;
}

.v-contact-group a:hover {
  text-decoration: underline;
}

.v-contact-group>div {
  font-size: .60rem;
  line-height: 1.3;
}

.v-contact-group small {
  display: block;
  font-size: .52rem;
}

@media(min-width:651px) {
  .site-footer {
    min-height: 12.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .footer-main {
    grid-template-columns: 1.65fr repeat(4,minmax(0,1fr));
  }
  .footer-contact {
    margin-top: .32rem;
    padding: .5rem 0;
  }
  .footer-bottom {
    padding-top: .28rem;
  }
}

@media(max-width:650px) {
  .v-contact-groups {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: .8rem;
  }
  .v-contact-group>div {
    font-size: .7rem;
  }
  .v-contact-group small {
    font-size: .63rem;
  }
}

@media(max-width:990px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-grid;
  }
  .main-header {
    gap: .5rem;
  }
  .header-actions {
    margin-left: auto;
  }
}

@media(max-width:650px) {
  .page-frame {
    margin: .5rem auto 1rem;
  }
  .topbar {
    padding: .35rem .65rem;
    gap: .5rem;
    font-size: .63rem;
  }
  .topbar nav {
    gap: .6rem;
  }
  .topbar-announcement {
    display: none;
  }
  .topbar-help {
    font-size: .6rem;
  }
  .main-header {
    padding: .55rem .65rem;
    min-height: 3.4rem;
  }
  .brand img {
    width: 7.2rem;
  }
  .header-actions {
    gap: .45rem;
  }
  .icon-button {
    min-width: 1.75rem;
    min-height: 2.1rem;
  }
  .site-footer {
    padding: 1.2rem .9rem;
  }
  .footer-main {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem;
  }
  .footer-brand {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .footer-main nav a,.footer-brand p {
    font-size: .76rem;
  }
  .contact-method__body,.footer-bottom,.seo-footer-links {
    font-size: .67rem;
  }
  .footer-bottom {
    align-items: flex-start;
  }
  .footer-bottom>div {
    row-gap: .35rem;
  }
  .contact-method__label {
    font-size: .64rem;
  }
  .footer-contact {
    padding-block: .85rem;
  }
  .contact-methods {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
