:root {
  --shared-ink: #102f31;
  --shared-deep: #082326;
  --shared-teal: #0f726f;
  --shared-aqua: #c8f2df;
  --shared-lime: #dfee9b;
  --shared-coral: #ff765f;
  --shared-paper: #fffdf8;
  --shared-line: #dce5df;
  --shared-muted: #697a78;
}

.hidden {
  display: none !important;
}

body.shared-menu-open {
  overflow: hidden;
}

.account-link {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(16, 47, 49, 0.14);
  border-radius: 999px;
  color: var(--shared-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.account-link.is-authenticated {
  border-color: rgba(15, 114, 111, 0.35);
  background: rgba(200, 242, 223, 0.55);
}

.mobile-menu-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid rgba(16, 47, 49, 0.14);
  border-radius: 50%;
  background: transparent;
  color: var(--shared-ink);
  font-size: 19px;
}

.mobile-site-menu {
  position: fixed;
  inset: 0;
  z-index: 260;
  visibility: hidden;
  pointer-events: none;
}

.mobile-site-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-site-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 27, 30, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.mobile-site-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(370px, 92%);
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--shared-paper);
  color: var(--shared-ink);
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.25, 1);
  overflow-y: auto;
}

.mobile-site-menu.is-open .mobile-site-menu__backdrop {
  opacity: 1;
}

.mobile-site-menu.is-open .mobile-site-menu__panel {
  transform: translateX(0);
}

.mobile-site-menu__head {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--shared-line);
}

.mobile-site-menu__head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.mobile-site-menu__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--shared-line);
  border-radius: 50%;
  background: transparent;
  color: var(--shared-ink);
  font-size: 22px;
}

.mobile-site-menu__nav {
  padding: 23px 0;
  display: grid;
}

.mobile-site-menu__nav > a {
  padding: 15px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--shared-line);
  color: var(--shared-ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 750;
}

.mobile-site-menu__nav > a span {
  color: var(--shared-muted);
  font-size: 11px;
  font-weight: 500;
}

.mobile-site-menu__foot {
  margin-top: auto;
  padding: 19px;
  border-radius: 18px;
  background: var(--shared-deep);
  color: white;
}

.mobile-site-menu__foot strong {
  color: var(--shared-lime);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-site-menu__foot p {
  margin: 8px 0 15px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.6;
}

.mobile-site-menu__foot a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--shared-coral);
  color: var(--shared-deep);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 240;
  font-family: "Avenir Next", "Segoe UI", "Microsoft YaHei", sans-serif;
  transition: opacity 160ms ease, visibility 160ms ease;
}

body.cart-open .support-widget {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.support-widget__toggle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--shared-deep);
  color: var(--shared-lime);
  box-shadow: 0 16px 38px rgba(3, 26, 29, 0.28);
  cursor: pointer;
  font-size: 23px;
  transition: transform 160ms ease;
}

.support-widget__toggle:hover {
  transform: translateY(-2px);
}

.support-widget__panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(330px, calc(100vw - 28px));
  padding: 19px;
  border: 1px solid var(--shared-line);
  border-radius: 22px;
  background: var(--shared-paper);
  color: var(--shared-ink);
  box-shadow: 0 25px 65px rgba(4, 30, 33, 0.24);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: 160ms ease;
}

.support-widget.is-open .support-widget__panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.support-widget__panel > small {
  color: var(--shared-teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-widget__panel h3 {
  margin: 7px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.support-widget__panel > p {
  margin: 0 0 14px;
  color: var(--shared-muted);
  font-size: 11px;
  line-height: 1.55;
}

.support-options {
  display: grid;
  gap: 8px;
}

.support-option {
  min-height: 51px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--shared-line);
  border-radius: 12px;
  color: var(--shared-ink);
  text-decoration: none;
  background: white;
}

.support-option:hover {
  border-color: rgba(15, 114, 111, 0.45);
  background: rgba(200, 242, 223, 0.2);
}

.support-option.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.support-option__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--shared-aqua);
  font-size: 14px;
  font-weight: 900;
}

.support-option strong {
  display: block;
  font-size: 12px;
}

.support-option small {
  display: block;
  margin-top: 3px;
  color: var(--shared-muted);
  font-size: 9px;
}

.support-option > b {
  color: var(--shared-muted);
  font-size: 15px;
}

.support-widget__hours {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--shared-line);
  color: var(--shared-muted);
  font-size: 9px;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .mobile-menu-button {
    display: grid;
  }

  .header-actions .account-link {
    display: none;
  }

  .product-page .support-widget {
    bottom: 90px;
  }
}

@media (max-width: 640px) {
  .support-widget {
    right: 13px;
    bottom: 13px;
  }

  .support-widget__toggle {
    width: 52px;
    height: 52px;
  }

  .support-widget__panel {
    bottom: 64px;
  }
}
