/* Enotni mobilni meni Velvet Secret. Barve podeduje od posamezne strani. */
.hamb {
  display: none;
  position: relative;
  z-index: 1002;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  cursor: pointer;
}

.hamb span {
  display: block;
  width: 25px;
  height: 1px;
  background: currentColor;
  transition: transform .28s ease, opacity .2s ease;
}

.hamb.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamb.open span:nth-child(2) { opacity: 0; }
.hamb.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  padding: 6rem 2rem 2.5rem;
  overflow-y: auto;
  background: rgba(13, 12, 24, .985);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.mobile.open { display: flex; }

.mobile a,
.mobile button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .2rem .5rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font-family: var(--display, "Playfair Display", Georgia, serif);
  font-size: clamp(1.65rem, 7vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .02em;
  text-align: center;
  text-transform: none;
  cursor: pointer;
}

.mobile a:hover,
.mobile a:focus-visible,
.mobile button:hover,
.mobile button:focus-visible,
.mobile a[aria-current="page"] {
  color: #fff;
}

.mobile .mobile-language {
  margin-top: .45rem;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .72;
}

.mobile .mobile-auth,
.mobile > button,
.mobile .nav-signout {
  margin-top: .25rem;
  padding: .7rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .22);
  font-family: var(--sans, system-ui, sans-serif);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mobile-user {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}

@media (max-width: 980px) {
  .nav-links { display: none !important; }
  .hamb { display: flex !important; }
  .nav:has(.hamb.open) { z-index: 1001 !important; }
}

@media (min-width: 981px) {
  .nav-links { display: flex !important; }
  .mobile { display: none !important; }
  .hamb { display: none !important; }
}

@media (max-height: 650px) and (max-width: 980px) {
  .mobile {
    justify-content: flex-start;
    gap: .7rem;
    padding-top: 5.5rem;
  }
  .mobile a,
  .mobile button { font-size: 1.45rem; }
}
