.mos-orb {
  position: relative;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 27% 18%, rgba(255,255,255,1) 0 8%, rgba(255,255,255,0.64) 16%, transparent 29%),
    radial-gradient(circle at 74% 78%, rgba(92,78,58,0.56) 0 16%, transparent 43%),
    radial-gradient(circle at 36% 34%, #fffdf1 0 10%, #efe0b4 30%, #c5d2cf 52%, #93aaad 70%, #5f6259 100%);
  box-shadow:
    0 24px 18px -16px rgba(77,86,82,0.34),
    0 8px 18px rgba(78,76,66,0.2),
    inset -12px -14px 19px rgba(72,75,66,0.34),
    inset 9px 8px 14px rgba(255,255,255,0.94),
    inset 2px 2px 3px rgba(255,255,255,0.82),
    inset 0 0 0 1px rgba(255,255,255,0.28);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: mosOrbBounce 3.2s cubic-bezier(0.45, 0, 0.22, 1) infinite;
}

.mos-orb::before {
  content: "";
  position: absolute;
  inset: -28%;
  background: linear-gradient(115deg, transparent 22%, rgba(255,255,255,0.86) 45%, transparent 62%);
  transform: translateX(-70%) rotate(16deg);
  filter: blur(1px);
  animation: mosOrbGlint 5.8s ease-in-out infinite;
}

.mos-orb::after {
  content: "";
  position: absolute;
  inset: 7px 11px 22px 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.24);
  filter: blur(4px);
  animation: mosOrbLiquid 6.2s ease-in-out infinite;
}

.mos-orb-shadow {
  width: 42px;
  height: 8px;
  margin-top: -3px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(83,91,87,0.22) 0%, rgba(83,91,87,0.07) 46%, transparent 72%);
  filter: blur(3px);
  animation: mosOrbShadow 3.2s cubic-bezier(0.45, 0, 0.22, 1) infinite;
}

.mos-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mos-loader.active {
  opacity: 1;
  pointer-events: auto;
}

.mos-loader-inner,
.mos-empty-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mos-loader-word {
  margin: 0;
  color: rgba(0,0,0,0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 3px;
}

.mos-empty-mark {
  margin-bottom: 22px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-left .nav-item {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.nav-left .nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: min(920px, calc(100vw - 32px));
  height: 24px;
  pointer-events: auto;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  width: min(920px, calc(100vw - 32px));
  min-height: 360px;
  background: rgba(255,255,255,0.965);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 16px 38px rgba(0,0,0,0.055);
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  z-index: 1200;
}

.mega-menu.is-shifted {
  left: var(--mega-menu-left, 0);
}

.nav-item:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 28px;
  align-content: start;
}

.mega-column h4 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.42);
}

.mega-column a {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #111;
}

.mega-preview {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mega-preview img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.mega-preview p {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  color: #111;
  letter-spacing: 0.3px;
}

.mega-preview.is-switching img {
  opacity: 0.35;
}

.gift-mega-menu {
  width: min(1340px, calc(100vw - 32px));
  min-height: 520px;
  grid-template-columns: 1fr;
  padding: 38px 44px 42px;
}

.gift-mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 28px;
  align-items: start;
}

.gift-mega-card {
  min-width: 0;
  text-align: center;
}

.gift-mega-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  background: #f4f6f7;
  overflow: hidden;
}

.gift-mega-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gift-mega-card:hover .gift-mega-image img {
  transform: scale(1.035);
}

.gift-mega-title {
  display: inline-block;
  margin-bottom: 24px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
}

.gift-mega-list a {
  display: block;
  margin-bottom: 14px;
  color: #111;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.gift-mega-list a:hover,
.gift-mega-title:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-left .nav-item > .mos-generated-mega {
  width: min(920px, calc(100vw - 32px));
  min-height: 360px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  box-sizing: border-box;
  z-index: 1200;
}

.nav-left .nav-item > .mos-generated-mega.gift-mega-menu {
  width: min(1180px, calc(100vw - 64px));
  min-height: 430px;
  grid-template-columns: 1fr;
  padding: 32px 36px 36px;
}

.nav-left .nav-item > .mos-generated-mega .gift-mega-grid {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 24px;
}

.nav-left .nav-item > .mos-generated-mega .gift-mega-image {
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}

.nav-left .nav-item > .mos-generated-mega .gift-mega-title {
  margin-bottom: 18px;
}

.nav-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #111;
}

.nav-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 28px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.language-globe {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.language-globe::before,
.language-globe::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.language-globe::before {
  left: 4px;
  top: -1.5px;
  width: 8px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-bottom: 0;
  border-radius: 50%;
}

.language-globe::after {
  left: 2px;
  right: 2px;
  top: 8px;
  height: 1.5px;
  background: currentColor;
}

.language-code {
  min-width: 18px;
  text-align: left;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 156px;
  padding: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 260;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-option {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  text-align: left;
}

.language-option:hover,
.language-option.is-active {
  background: #f4f4f4;
}

.language-option span:last-child {
  color: #777;
}

.nav-icon-search {
  width: 18px;
  height: 18px;
}

.nav-icon-search::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 11px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.nav-icon-search::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 7px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.nav-icon-account::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.nav-icon-account::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 1px;
  width: 12px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  box-sizing: border-box;
}

.nav-icon-bag {
  top: 2px;
  width: 16px;
  height: 14px;
  border: 1.5px solid currentColor;
}

.nav-icon-bag::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -6px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  box-sizing: border-box;
}

.nav-cart[data-count]:not([data-count=""])::after {
  content: attr(data-count);
  position: absolute;
  right: -7px;
  top: -8px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
  box-sizing: border-box;
}

.mos-empty-mark .mos-orb {
  width: 28px;
  height: 28px;
}

.mos-empty-mark .mos-orb-shadow {
  width: 34px;
  height: 7px;
  margin-top: -13px;
}

@media (max-width: 900px) {
  .mega-menu {
    width: calc(100vw - 32px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .mega-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mega-preview img {
    height: 180px;
  }
}

@keyframes mosOrbBounce {
  0%, 100% {
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
    box-shadow:
      0 24px 18px -16px rgba(77,86,82,0.34),
      0 8px 18px rgba(78,76,66,0.2),
      inset -12px -14px 19px rgba(72,75,66,0.34),
      inset 9px 8px 14px rgba(255,255,255,0.94),
      inset 2px 2px 3px rgba(255,255,255,0.82),
      inset 0 0 0 1px rgba(255,255,255,0.28);
  }

  50% {
    transform: translateY(-30px) scale(1.06) rotateX(13deg) rotateY(-16deg);
    box-shadow:
      0 48px 24px -24px rgba(77,86,82,0.22),
      0 16px 24px rgba(78,76,66,0.16),
      inset -14px -15px 21px rgba(72,75,66,0.27),
      inset 10px 9px 16px rgba(255,255,255,0.98),
      inset 2px 2px 3px rgba(255,255,255,0.84),
      inset 0 0 0 1px rgba(255,255,255,0.3);
  }
}

@keyframes mosOrbShadow {
  0%, 100% {
    transform: scaleX(1);
    opacity: 0.9;
  }

  50% {
    transform: scaleX(0.62);
    opacity: 0.34;
  }
}

@keyframes mosOrbGlint {
  0%, 20% {
    transform: translateX(-80%) rotate(16deg);
    opacity: 0;
  }

  42% {
    opacity: 0.86;
  }

  68%, 100% {
    transform: translateX(80%) rotate(16deg);
    opacity: 0;
  }
}

@keyframes mosOrbLiquid {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(5px, 3px) scale(1.18);
    opacity: 0.38;
  }
}

@media (max-width: 760px) {
  .mos-orb {
    top: 8px;
    width: 26px;
    height: 26px;
  }

  .mos-orb-shadow {
    width: 32px;
    margin-top: -4px;
  }
}
