/* Shared public navigation; staff surfaces deliberately excluded. */
:root {
  --site-header-height: 72px;
  scroll-padding-top: calc(var(--site-header-height) + 18px);
}
body.public-ambience > .site-header {
  position: sticky !important;
  top: 0 !important;
  inset-inline: 0;
  z-index: 80;
  display: block !important;
  height: var(--site-header-height) !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #080f21f5 !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #6557ad55;
  box-shadow: 0 5px 24px #02061122;
}
.site-header-inner {
  max-width: 1440px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
}
.site-header .site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}
.site-brand img {
  display: block;
  object-fit: contain;
}
.site-header .site-brand img:first-child {
  width: 42px;
  height: 42px;
}
.site-header .site-brand img:last-child {
  width: 178px;
  height: auto;
}
body.public-ambience .site-header .header-actions {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  position: static !important;
  width: auto !important;
  grid-area: auto !important;
}
body.public-ambience .site-icon-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 8px !important;
  border: 1px solid #60769b42;
  border-radius: 11px;
  background: transparent;
  color: #d6e1f6;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  flex: none;
}
.site-icon-button svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.site-icon-button:hover {
  background: #7b96f315 !important;
  border-color: #6da7e8 !important;
  color: #a3efff !important;
}
body.public-ambience .site-header [hidden] {
  display: none !important;
}
.site-header .personal-name,
.site-header .cart-label {
  display: none !important;
}
.site-header .avatar {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  overflow: hidden;
}
.site-header .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-header .personal-account-link {
  border-radius: 50%;
  padding: 3px !important;
}
.site-header .cart-link img {
  width: 25px !important;
  height: 25px !important;
}
body.public-ambience .site-header .cart-count {
  position: static !important;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #cbd8f2 !important;
  box-shadow: none;
  font:
    600 11px/1 "DM Sans",
    sans-serif;
}
.site-header .cart-link {
  gap: 4px;
  width: auto;
}
.site-header #open-customer::before,
.site-header #open-customer::after {
  content: none !important;
  display: none !important;
}
.site-header-message {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a9bad7;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.site-header-message span {
  color: #86ddf4;
}
@media (max-width: 1024px) {
  .site-header-message {
    display: none;
  }
}

.site-language {
  display: block;
  position: relative;
}
.site-language select {
  font:
    700 11px "DM Sans",
    sans-serif !important;
  width: 63px !important;
  min-height: 40px;
  padding: 8px !important;
  background: #0d172b !important;
  color: #d4e3ff !important;
  border: 1px solid #60769b42 !important;
  border-radius: 9px;
}
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-drawer :is(a, button, select):focus-visible {
  outline: 2px solid #6fe7ff;
  outline-offset: 3px;
}
.site-header::after {
  pointer-events: none;
}
.drawer-is-open {
  overflow: hidden;
}
dialog.site-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  margin: 0;
  width: min(380px, calc(100vw - 36px));
  height: 100dvh;
  max-height: 100dvh;
  max-width: none;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-right: 1px solid #6685ce66;
  border-radius: 0 20px 20px 0;
  background: linear-gradient(155deg, #14243d, #0c1428 60%, #17122e);
  color: #eff5ff;
  box-shadow: 18px 0 70px #0006;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: "DM Sans", sans-serif;
}
.site-drawer[open] {
  display: flex;
  flex-direction: column;
  animation: drawer-in 0.2s ease-out;
}
.site-drawer::backdrop {
  background: #020715b8;
  backdrop-filter: blur(3px);
}
.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 30px 24px 25px;
  border-bottom: 1px solid #7793ce2e;
}
.site-eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #90c6ff;
  font-weight: 700;
}
.drawer-heading h2 {
  font:
    700 23px/1.25 "DM Sans",
    sans-serif;
  margin: 8px 0 0;
  color: #f1f5ff;
}
.drawer-close {
  font-size: 27px;
}
.site-drawer nav {
  padding: 18px 12px;
  display: grid;
  gap: 4px;
}
.site-drawer nav a,
.drawer-account {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #cad8ef;
  text-decoration: none;
  font-size: 14px;
  min-height: 50px;
}
.site-drawer svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.site-drawer nav a span:last-child {
  margin-left: auto;
  font-size: 22px;
  color: #899cbf;
}
.site-drawer nav a:hover,
.site-drawer nav a[aria-current] {
  background: linear-gradient(100deg, #19507166, #6c318047);
  border-color: #4f7ebd66;
  color: #a1edff;
}
.drawer-bottom {
  margin-top: auto;
  padding: 20px 24px;
  border-top: 1px solid #7793ce2e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.drawer-account {
  padding: 10px 0;
}
.drawer-account:hover {
  color: #88eaff;
}
body.public-ambience
  :is(
    .auth-links,
    .auth-footnote,
    .auth-footnote,
    .cart-breadcrumb,
    .privacy-copy,
    .ac-breadcrumb,
    .auth-legal
  )
  a,
body.public-ambience .text-link {
  color: #8fc7ff;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
body.public-ambience
  :is(
    .auth-links,
    .auth-footnote,
    .cart-breadcrumb,
    .privacy-copy,
    .ac-breadcrumb,
    .auth-legal
  )
  a {
  text-decoration: underline;
}
body.public-ambience
  :is(
    .auth-links,
    .auth-footnote,
    .cart-breadcrumb,
    .privacy-copy,
    .ac-breadcrumb,
    .auth-legal
  )
  a:hover {
  color: #9af2ff;
}
.gs-footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #7187ac66;
}
.gs-footer-bottom a:hover {
  text-decoration-color: currentColor;
}
body.account-access .identity-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto !important;
  padding: 28px !important;
  gap: clamp(35px, 7vw, 110px);
  min-height: calc(100dvh - var(--site-header-height));
}
.auth-brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 65px);
  border: 1px solid #7066b644;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 100% 0, #9b2b8d44, transparent 60%),
    linear-gradient(145deg, #162e59, #211844 65%, #101b34);
  color: #edf5ff;
  min-height: 600px;
}
.auth-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/visuals/ambient-waves.svg") center/100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}
.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: auto;
  padding-bottom: 65px;
}
.auth-brand-logo img:first-child {
  width: 55px;
  height: 55px;
}
.auth-brand-logo img:last-child {
  width: min(210px, 65%);
  height: auto;
}
.auth-brand-panel h2 {
  font:
    800 clamp(33px, 4vw, 57px)/1.08 "DM Sans",
    sans-serif;
  letter-spacing: -0.05em;
  margin: 20px 0;
  color: #f7f8ff;
  text-transform: none;
}
.auth-brand-panel h2 span {
  color: #9ad8ff;
}
.auth-brand-panel > p {
  font-size: 15px;
  line-height: 1.8;
  color: #bbcae9;
  margin: 0 0 35px;
}
.auth-brand-panel ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 auto;
  display: grid;
  gap: 20px;
}
.auth-brand-panel li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #dce7fb;
}
.auth-brand-panel li svg {
  width: 23px;
  height: 23px;
  color: #85dcff;
  flex: none;
}
.auth-brand-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #afc0e3;
  margin-top: 50px;
}
body.account-access .identity-layout > .auth-card {
  width: 100% !important;
  max-width: 470px !important;
  justify-self: center;
  align-self: center;
  padding: 45px 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
body.account-access .auth-card h1 {
  font:
    800 clamp(30px, 3vw, 40px)/1.2 "DM Sans",
    sans-serif !important;
  letter-spacing: -0.04em;
  color: #f1f5ff;
  margin: 0 0 14px !important;
}
.auth-card .auth-intro {
  display: block !important;
  font-size: 14px;
  line-height: 1.7;
  color: #aabbd7;
  margin: 0 0 30px;
}
body.account-access #auth-navigation {
  display: none !important;
}
.auth-card form {
  gap: 20px;
}
.auth-card label {
  font-size: 13px;
  color: #bdcce4;
}
.auth-card input {
  min-height: 54px;
  border-radius: 12px !important;
  background: #0c1527 !important;
  border: 1px solid #3b4e6c !important;
  color: #eff4ff !important;
  padding: 14px !important;
  font-size: 15px;
}
.auth-card .password-input input {
  padding-right: 70px !important;
}
.auth-card .password-toggle {
  color: #9edbff !important;
}
.auth-card .full-width {
  min-height: 52px;
  border-radius: 12px !important;
  margin-top: 5px;
}
.auth-card .auth-links {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12px;
}
.auth-card .auth-links a {
  line-height: 1.7;
}
.auth-card #identity-social {
  margin-top: 30px;
}
.auth-card .identity-separator {
  margin: 0 0 20px !important;
  font-size: 12px;
  color: #97accd;
}
.auth-card .social-button {
  min-height: 52px;
  border-radius: 12px;
  background: #111d30 !important;
  border: 1px solid #586a94 !important;
  color: #eaf0ff !important;
}
.auth-legal {
  font-size: 11px;
  line-height: 1.8;
  color: #a3b5d2;
  margin-top: 24px;
}
.auth-brand-panel [data-no-translate] {
  color: inherit;
}
body.account-access site-footer {
  margin-top: 35px;
}
.empty-public-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 130px) 28px;
  min-height: 55vh;
}
.empty-public-page h1 {
  font:
    800 clamp(35px, 6vw, 65px)/1.1 "DM Sans",
    sans-serif;
  color: #f1f5ff !important;
}
.empty-public-page p {
  max-width: 620px;
  color: #adbfdd;
  line-height: 1.8;
}
.empty-public-page .text-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: underline;
}
@keyframes drawer-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (max-width: 1150px) {
  .site-header-inner {
    gap: 16px;
    padding-inline: 22px;
  }
  body.public-ambience .site-header #primary-nav {
    display: none !important;
  }
  .site-header .site-brand img:last-child {
    width: 170px;
  }
}
@media (max-width: 800px) {
  body.account-access .identity-layout {
    grid-template-columns: 1fr !important;
    gap: 0;
    padding: 28px 22px !important;
    min-height: 0;
  }
  .auth-brand-panel {
    min-height: 0;
    padding: 25px;
    display: none;
  }
  .auth-card {
    order: -1;
  }
  body.account-access .identity-layout > .auth-card {
    padding: 28px 0 !important;
    max-width: 460px !important;
  }
  .site-header .notification-link {
    display: none !important;
  }
}
@media (max-width: 620px) {
  :root {
    --site-header-height: 62px;
  }
  .site-header-inner {
    gap: 10px;
    padding: 0 14px;
  }
  .site-header .site-brand {
    gap: 7px;
  }
  .site-header .site-brand img:first-child {
    width: 32px;
    height: 32px;
  }
  .site-header .site-brand img:last-child {
    width: 126px;
  }
  .site-header .header-actions {
    gap: 6px !important;
  }
  .site-header .site-icon-button {
    width: 36px;
    height: 40px;
    min-width: 36px;
    border-radius: 9px;
  }
  .site-header .site-brand img:last-child {
    display: none;
  }
  .site-header .site-language select {
    width: 54px !important;
    padding: 6px !important;
    font-size: 10px !important;
    min-height: 38px;
  }
  .site-header .avatar {
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
  }
  .drawer-heading {
    padding: 25px 20px;
  }
  .gs-footer-inner {
    padding-top: 30px;
  }
  .gs-support {
    padding: 19px 17px;
  }
  .gs-footer-top {
    margin-bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-drawer[open] {
    animation: none;
  }
  .site-header,
  .site-drawer * {
    scroll-behavior: auto;
    transition: none !important;
  }
}
html[data-reduced-effects="true"] :is(.site-header, .site-drawer::backdrop) {
  backdrop-filter: none;
}
@media (forced-colors: active) {
  .site-header,
  .site-drawer,
  .auth-brand-panel {
    background: Canvas !important;
    color: CanvasText !important;
  }
  .site-drawer::backdrop {
    background: #000a;
  }
  .auth-brand-panel::before {
    display: none;
  }
}

.site-language-flag {
  position: absolute;
  z-index: 1;
  inset-inline-start: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  pointer-events: none;
}
body.public-ambience .site-language select {
  width: 82px;
  min-width: 82px;
  padding-inline-start: 35px !important;
}
