/* ── NAVIGATION ── */
#morphya-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  transition: all .5s cubic-bezier(.25, .46, .45, .94);
}

#morphya-nav.is-solid {
  background: rgba(245, 240, 232, .97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(26, 22, 20, .06);
  padding: 18px 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}

.nav-logo-mark {
  width: 22px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
  filter: invert(1);
  transition: filter .4s;
}

.nav-logo-word {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 7px;
  font-weight: 300;
  text-transform: uppercase;
  color: #F5F0E8;
  transition: color .4s;
}

#morphya-nav.is-solid .nav-logo-mark { filter: none; }
#morphya-nav.is-solid .nav-logo-word { color: var(--black); }

.nav-links a { color: #F5F0E8; }
#morphya-nav.is-solid .nav-links a { color: var(--black); }

@media (max-width: 768px) {
  .nav-logo-word { font-size: 9px; letter-spacing: 5px; }
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--black);
  opacity: .3;
  text-decoration: none;
  transition: opacity .25s;
}
.nav-links a:hover { opacity: .75; }

.nav-home-link { opacity: .65 !important; }
.nav-home-link:hover { opacity: 1 !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cart {
  position: relative;
  cursor: pointer;
  padding: 8px;
  opacity: .5;
  transition: opacity .2s;
  text-decoration: none;
  color: var(--black);
}
.nav-cart:hover { opacity: 1; }

.nav-cart svg {
  width: 18px; height: 18px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
  display: block;
}

.nav-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  font-size: 7px;
  font-weight: 500;
  color: var(--black-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
}

.nav-cta {
  background: var(--black);
  color: var(--ivory);
  padding: 10px 22px;
  font-size: 8.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background .2s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--gold); color: var(--black-deep); }

@media (max-width: 768px) {
  #morphya-nav { padding: 20px 24px; }
  #morphya-nav.is-solid { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; } /* hide desktop CTA on mobile, replaced by drawer */
}

/* ══════════════════════════════════════════════
   MOBILE BURGER + DRAWER
   ══════════════════════════════════════════════ */

.nav-burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold, #C9A84C);
  transition: transform .3s, opacity .2s, background .2s;
  transform-origin: center;
}
#morphya-nav:not(.is-solid) .nav-burger span { background: #F5F0E8; }

.nav-burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-burger { display: flex; }
}

body.nav-locked { overflow: hidden; }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 9000;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 9, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background .35s ease, backdrop-filter .35s ease;
}
.nav-drawer.is-open .nav-drawer-backdrop {
  background: rgba(13, 11, 9, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: #0F0D0B;
  border-left: 1px solid rgba(201, 168, 76, .18);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -10px 0 50px rgba(0, 0, 0, .5);
}
.nav-drawer.is-open .nav-drawer-panel { transform: translateX(0); }

.nav-drawer-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: rgba(245, 240, 232, .6);
  font-size: 32px;
  line-height: 1;
  font-weight: 200;
  cursor: pointer;
  padding: 8px 12px;
  transition: color .2s;
}
.nav-drawer-close:hover { color: var(--gold, #C9A84C); }

.nav-drawer-brand {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 12px;
  letter-spacing: 6px;
  font-weight: 300;
  color: var(--gold, #C9A84C);
  margin: 8px 0 36px 0;
}

.nav-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer-links a {
  display: block;
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #F5F0E8;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 240, 232, .06);
  transition: color .2s, padding-left .2s;
}
.nav-drawer-links a:hover {
  color: var(--gold, #C9A84C);
  padding-left: 6px;
}

.nav-drawer-foot {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-drawer-cta {
  background: var(--gold, #C9A84C);
  color: #0D0B09;
  text-align: center;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 22px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-drawer-cta:hover { background: #F5F0E8; }
.nav-drawer-cart {
  text-align: center;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .5);
  text-decoration: none;
  padding: 8px;
}
.nav-drawer-cart:hover { color: var(--gold, #C9A84C); }
