/* ===================== NAV ===================== */
.nav-shell {
  position: fixed;
  top: 12px;
  left: 18px;
  right: 18px;
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 14px;
}
nav {
  --mx: 50%;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: auto;
  max-width: none;
  padding: 0 20px;
  height: 58px;
  border-radius: var(--nav-shell-radius);
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  background:
    radial-gradient(circle at var(--mx) 50%, rgba(255,245,220,0.14) 0%, rgba(255,245,220,0.06) 10%, rgba(255,245,220,0.00) 24%),
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 8%, rgba(0,0,0,0.00) 16%),
    linear-gradient(180deg, rgba(21,18,16,0.96) 0%, rgba(11,9,9,0.98) 52%, rgba(6,5,6,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 2px 6px rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.70),
    inset 0 -8px 18px rgba(0,0,0,0.24),
    0 16px 30px rgba(0,0,0,0.22),
    0 2px 10px rgba(0,0,0,0.16);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    background 0.18s ease;
}
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) 50%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 10%, rgba(255,255,255,0) 24%),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      rgba(0,0,0,0) 3px,
      rgba(0,0,0,0) 8px
    );
  mix-blend-mode: screen;
  opacity: 0.65;
  pointer-events: none;
}
nav::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--nav-shell-radius) - 1px);
  box-shadow:
    inset 0 1px 0 rgba(255,240,218,0.05),
    inset 0 -1px 0 rgba(255,255,255,0.015);
  pointer-events: none;
}
.ambient-nav-overlay { display: none; }
.mobile-nav-sheet { display: none; }
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name {
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(255,248,220,0.22),
    0 0 10px rgba(212,175,55,0.10),
    0 0 20px rgba(212,175,55,0.05);
  transition: transform 0.22s ease, text-shadow 0.22s ease;
}
.nav-logo:hover .nav-logo-name {
  transform: translateY(-1px);
  text-shadow:
    0 2px 0 rgba(255,248,220,0.22),
    0 0 12px rgba(212,175,55,0.14),
    0 0 24px rgba(212,175,55,0.08);
}
.nav-logo-sub {
  font-family: var(--ff-sans);
  font-size: 8px;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.system-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 10px 6px 0;
  transition: color 0.22s ease, text-shadow 0.22s ease, transform 0.22s ease;
}
.system-status:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgba(212,175,55,0.16);
}
.system-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 8px rgba(156,47,47,0.34);
  animation: systemBlink 1.8s infinite;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.desktop-ambient-menu,
.ambient-menu-toggle,
.ambient-radial-menu,
.mobile-nav-sheet-toggle {
  display: none !important;
}
.nav-links a {
  position: relative;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,241,227,0.88);
  text-decoration: none;
  transition: color 0.22s ease, text-shadow 0.22s ease, transform 0.22s ease;
  cursor: pointer;
}
.nav-links a:not(.nav-cta):not(.system-status):hover {
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow:
    0 0 10px rgba(255,255,255,0.95),
    0 0 18px rgba(255,255,255,0.82),
    0 0 30px rgba(255,255,255,0.58),
    0 0 46px rgba(255,255,255,0.34);
}
.nav-links a:not(.nav-cta):not(.system-status)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(255,255,255,0));
  opacity: 0;
  transform: scaleX(0.7);
  box-shadow:
    0 0 10px rgba(255,255,255,0.75),
    0 0 18px rgba(255,255,255,0.34);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-links a:not(.nav-cta):not(.system-status):hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.mobile-nav-sheet { display: none; }
.nav-lang {
  display: flex; gap: 8px; align-items: center;
  padding-left: 8px; margin-left: 4px;
  border-left: 1px solid var(--border);
}
.nav-cta-standalone {
  position: relative;
  z-index: 2;
  margin-left: auto;
  flex: 0 0 auto;
}
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  height: 40px;
  padding: 0 26px;
  border-radius: var(--nav-shell-radius);
  font-family: var(--ff-sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.34s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.34s cubic-bezier(0.23, 1, 0.32, 1), filter 0.34s cubic-bezier(0.23, 1, 0.32, 1);
  background: linear-gradient(145deg, #3a2a15 0%, #201608 42%, #3a2a15 100%);
  border: 2px solid rgba(255, 221, 120, 0.95);
  box-shadow:
    
    0 0 0 1.5px rgba(255, 226, 132, 0.88),
    0 0 6px rgba(255, 223, 119, 0.58),
    0 0 14px rgba(255, 205, 74, 0.42),
    0 0 24px rgba(255, 189, 34, 0.26),
    0 0 40px rgba(255, 176, 0, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -2px 0 rgba(0,0,0,0.52)
;
  animation: navCtaBorderPulse 1.8s ease-in-out infinite;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 30%,
    rgba(255,248,220,0.46) 50%,
    rgba(255,255,255,0) 70%
  );
  background-size: 200% 100%;
  animation: shine 4.4s linear infinite;
  opacity: 0.38;
  pointer-events: none;
}
.nav-cta::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.03) 16%,
      rgba(255,255,255,0.00) 42%),
    linear-gradient(180deg,
      rgba(82,56,18,0.24) 0%,
      rgba(34,22,8,0.10) 100%);
  pointer-events: none;
  z-index: 0;
}
.nav-cta-text,
.nav-cta-cart {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.nav-cta-text {
  color: #ffd86a;
  text-shadow:
    0 0 8px rgba(255, 220, 110, 0.95),
    0 0 16px rgba(255, 210, 80, 0.82),
    0 0 28px rgba(255, 196, 42, 0.72),
    0 0 42px rgba(255, 184, 28, 0.54),
    0 1px 2px rgba(0,0,0,0.34);
}
.nav-cta-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-cta-enter {
  display: none !important;
}
.nav-cta-cart {
  opacity: 0;
  transform: scale(0.86);
}
.nav-cta-cart svg {
  width: 20px;
  height: 20px;
}
.nav-cta-cart path,
.nav-cta-cart circle {
  fill: none;
  stroke: url(#navCtaCartGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06) saturate(1.08);
  box-shadow:
    
    0 0 0 1.5px rgba(255, 233, 153, 0.96),
    0 0 10px rgba(255, 229, 136, 0.74),
    0 0 18px rgba(255, 212, 92, 0.58),
    0 0 30px rgba(255, 194, 42, 0.36),
    0 0 48px rgba(255, 176, 0, 0.18),
    0 9px 18px rgba(200, 140, 60, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -2px 0 rgba(0,0,0,0.54)
;
}
.nav-cta:hover::before {
  opacity: 0.54;
  animation-duration: 2.8s;
}
.nav-cta:hover .nav-cta-text {
  opacity: 0;
  transform: scale(0.92);
}
.nav-cta:hover .nav-cta-text {
  color: #ffe27f;
  text-shadow:
    0 0 10px rgba(255, 228, 130, 1),
    0 0 20px rgba(255, 212, 92, 0.9),
    0 0 34px rgba(255, 196, 48, 0.78),
    0 0 50px rgba(255, 180, 22, 0.62),
    0 1px 2px rgba(0,0,0,0.34);
}
.nav-cta:hover .nav-cta-cart {
  opacity: 1;
  transform: scale(1);
}
.nav-cta-standalone {
  flex: 0 0 auto;
}
@keyframes shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes navCtaBorderPulse {
  0%, 100% {
    box-shadow:
      
      0 0 0 1.5px rgba(255, 226, 132, 0.88),
      0 0 6px rgba(255, 223, 119, 0.54),
      0 0 14px rgba(255, 205, 74, 0.38),
      0 0 24px rgba(255, 189, 34, 0.24),
      0 0 40px rgba(255, 176, 0, 0.10),
      inset 0 1px 0 rgba(255,255,255,0.18),
      inset 0 -2px 0 rgba(0,0,0,0.52)
;
  }
  50% {
    box-shadow:
      
      0 0 0 1.5px rgba(255, 238, 166, 0.94),
      0 0 9px rgba(255, 232, 148, 0.72),
      0 0 18px rgba(255, 218, 104, 0.62),
      0 0 32px rgba(255, 198, 50, 0.42),
      0 0 52px rgba(255, 180, 10, 0.22),
      inset 0 1px 0 rgba(255,255,255,0.20),
      inset 0 -2px 0 rgba(0,0,0,0.52)
;
  }
}

