#masthead.site-header.header-type1:not(.header-transparent),
.gemobile-site-footer,
.site-drawer.menu-drawer {
  --gemobile-shell-ink: #21192a;
  --gemobile-shell-muted: #60576a;
  --gemobile-shell-accent: #602989;
  --gemobile-shell-line: #e8e0eb;
  --gemobile-shell-lilac: #f4edf7;
}

#masthead.site-header.header-type1:not(.header-transparent) {
  --theme-header-height-mobile: 60px;
  --theme-header-height-desktop: 72px;
  --color-header-foreground: var(--gemobile-shell-ink);
  --color-header-background: #fff;
  border-bottom: 1px solid var(--gemobile-shell-line);
}

#masthead.header-type1:not(.header-transparent) .site-header-row .site-header-inner {
  gap: 12px;
}

#masthead.header-type1:not(.header-transparent) .site-brand img {
  width: clamp(126px, 16vw, 164px);
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
}

#masthead.header-type1:not(.header-transparent) .site-actions {
  gap: 2px;
}

#masthead.header-type1:not(.header-transparent) .site-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  color: var(--gemobile-shell-ink);
}

#masthead.header-type1:not(.header-transparent) .site-action-link:hover,
#masthead.header-type1:not(.header-transparent) .site-action-link:focus-visible {
  background-color: var(--gemobile-shell-lilac);
  color: var(--gemobile-shell-accent);
}

#masthead.header-type1:not(.header-transparent) .action-account .site-action-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#masthead.header-type1:not(.header-transparent) .site-action-count {
  background-color: var(--gemobile-shell-accent);
  color: #fff;
}

.site-drawer.menu-drawer .drawer-menu .site-menu > li > a {
  min-height: 44px;
  color: var(--gemobile-shell-ink);
}

.site-drawer.menu-drawer .drawer-menu .site-menu a:hover,
.site-drawer.menu-drawer .drawer-menu .site-menu a:focus-visible,
.site-drawer.menu-drawer .drawer-menu .gemobile-buyback-menu > a {
  color: var(--gemobile-shell-accent);
}

@media (max-width: 1024px) {
  #masthead.header-type1:not(.header-transparent) .site-header-inner > .mobile-column {
    flex: 0 0 44px;
  }
}

@media (min-width: 1024.02px) {
  #masthead.header-type1:not(.header-transparent) .site-header-inner > .brand-column {
    display: grid;
    grid-template-columns: clamp(165px, 19vw, 272px) 1fr;
    gap: 12px;
  }

  #masthead.header-type1:not(.header-transparent) .brand-column .primary-menu {
    margin-inline: 0;
  }

  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li > a {
    min-height: 44px;
    padding-inline: clamp(8px, 1.1vw, 16px);
    color: var(--gemobile-shell-ink);
    font-weight: 650;
    white-space: nowrap;
  }

  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li > a:hover,
  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li > a:focus-visible,
  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > .gemobile-buyback-menu > a {
    color: var(--gemobile-shell-accent);
  }

  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li.menu-item-has-children > .sub-menu {
    width: min(780px, calc(100vw - 320px)) !important;
    min-width: 0 !important;
    border: 1px solid var(--gemobile-shell-line);
    border-radius: 18px !important;
  }

  /* The support menu uses the theme's dropdown behavior without the product tiles. */
  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li.gemobile-help-menu > .sub-menu {
    width: 230px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 8px !important;
    gap: 2px !important;
  }

  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li.gemobile-help-menu > .sub-menu > li {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li.gemobile-help-menu > .sub-menu > li > a {
    display: block;
    margin: 0 !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px;
    color: var(--gemobile-shell-ink);
  }

  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li.gemobile-help-menu > .sub-menu > li > a:hover,
  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li.gemobile-help-menu > .sub-menu > li > a:focus-visible {
    background-color: var(--gemobile-shell-lilac);
    color: var(--gemobile-shell-accent);
  }

  #masthead.header-type1:not(.header-transparent) .primary-menu .site-menu > li.gemobile-help-menu > .sub-menu > li > a::after {
    content: none !important;
  }
}

.site-footer.gemobile-site-footer {
  background: var(--gemobile-shell-lilac);
  color: var(--gemobile-shell-ink);
  border-top: 1px solid var(--gemobile-shell-line);
  padding: clamp(26px, 4vw, 54px) 0 calc(86px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
}

.gemobile-site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr 1.2fr .75fr;
  gap: 24px;
}

.gemobile-site-footer .gemobile-site-footer__logo {
  display: inline-block;
  width: 146px;
  max-width: 100%;
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 700;
}

.gemobile-site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gemobile-site-footer address {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: start;
  column-gap: 18px;
  margin: 0;
  font-style: normal;
}

.gemobile-site-footer h2 {
  margin: 0 0 6px;
  color: var(--gemobile-shell-ink);
  font-size: 15px;
  font-weight: 700;
}

.gemobile-site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gemobile-site-footer a,
.gemobile-site-footer .cky-banner-element {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.gemobile-site-footer address a {
  color: var(--gemobile-shell-accent);
  font-weight: 650;
}

.gemobile-site-footer a:hover,
.gemobile-site-footer .cky-banner-element:hover {
  color: var(--gemobile-shell-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gemobile-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 12px 24px;
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid #ded2e5;
  color: var(--gemobile-shell-muted);
  font-size: 13px;
}

.gemobile-site-footer__legal p {
  margin: 0;
}

.gemobile-site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
}

.gemobile-site-footer .cky-banner-element {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.gemobile-site-footer .gemobile-site-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.gemobile-site-footer__payments img {
  width: 40px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .gemobile-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .gemobile-site-footer__contact {
    grid-column: 1 / -1;
  }

  .gemobile-site-footer address {
    flex-direction: row;
  }

  .gemobile-site-footer a,
  .gemobile-site-footer .cky-banner-element {
    min-height: 44px;
  }
}
