.zp-mobile-nav {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  font-family: var(--font-base, 'Sora', system-ui, sans-serif);
  contain: strict;
}

.zp-mobile-nav[data-state="open"],
.zp-mobile-nav[data-state="closing"] {
  visibility: visible;
  pointer-events: auto;
}

.zp-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7,5,3,0.85), rgba(22,11,12,0.65));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.zp-mobile-nav[data-state="open"] .zp-mobile-nav__backdrop {
  opacity: 1;
}

.zp-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(95vw, 520px);
  max-width: 520px;
  height: 100%;
  background: linear-gradient(170deg, #fff6ee 0%, #ffe7d3 55%, #ffd3b1 120%);
  color: #2a1a14;
  z-index: 2;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.35, 1);
  display: flex;
  flex-direction: column;
  border-top-left-radius: 26px;
  border-bottom-left-radius: 26px;
  border-left: 1px solid rgba(199, 120, 69, 0.25);
  box-shadow: -30px 0 60px rgba(202, 120, 70, 0.25);
  overflow: hidden;
}

.zp-mobile-nav[data-state="open"] .zp-mobile-nav__panel {
  transform: translateX(0);
}

.zp-mobile-nav__hero {
  position: relative;
  padding: clamp(18px, 4.5vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.zp-mobile-nav__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(255, 191, 141, 0.55), transparent 60%),
              radial-gradient(circle at 80% 40%, rgba(255, 238, 225, 0.7), transparent 65%);
  opacity: 0.35;
  filter: blur(6px);
  z-index: 0;
}

.zp-mobile-nav__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.zp-mobile-nav__brandMark {
  color: #d24a29;
}

.zp-mobile-nav__brandSub {
  color: rgba(87, 49, 34, 0.75);
  font-weight: 600;
}

.zp-mobile-nav__heroText {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(77, 41, 27, 0.8);
  position: relative;
  z-index: 1;
}

.zp-mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(12, 5, 4, 0.55);
  color: #fff6ef;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.zp-mobile-nav__close:hover,
.zp-mobile-nav__close:focus-visible {
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.6);
  outline: none;
}

.zp-mobile-nav__closeIcon {
  width: 14px;
  height: 14px;
  position: relative;
}

.zp-mobile-nav__closeIcon::before,
.zp-mobile-nav__closeIcon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.zp-mobile-nav__closeIcon::before { transform: translate(-50%, -50%) rotate(45deg); }
.zp-mobile-nav__closeIcon::after { transform: translate(-50%, -50%) rotate(-45deg); }

.zp-mobile-nav__body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(22px, 5vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.zp-mobile-nav__pill {
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(199,120,69,0.35);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(76,35,22,0.8);
  background: rgba(255,255,255,0.6);
}


.zp-mobile-nav__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.zp-mobile-nav__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(199,120,69,0.18);
  background: rgba(255,255,255,0.85);
  color: #3a1f17;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.zp-mobile-nav__card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(247, 165, 69, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.zp-mobile-nav__card:hover,
.zp-mobile-nav__card:focus-visible,
.zp-mobile-nav__card.is-active {
  background: #fff4ed;
  border-color: rgba(199,120,69,0.45);
  transform: translateX(4px);
}

.zp-mobile-nav__card:hover::after,
.zp-mobile-nav__card:focus-visible::after,
.zp-mobile-nav__card.is-active::after {
  opacity: 1;
  transform: translate(10px, -10px);
}

.zp-mobile-nav__cardIndex {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.zp-mobile-nav__cardLabel {
  flex: 1;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.zp-mobile-nav__cardIcon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(18,10,6,0.08);
  border: 1px solid rgba(199,120,69,0.25);
  position: relative;
}

.zp-mobile-nav__cardIcon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(199,120,69,0.9);
  border-right: 2px solid rgba(199,120,69,0.9);
  transform: translate(-50%, -50%) rotate(45deg);
}

.zp-mobile-nav__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.zp-mobile-nav__metaCard {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zp-mobile-nav__metaLabel {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.55);
}

.zp-mobile-nav__metaCard a {
  color: #ffe7d1;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}

.zp-mobile-nav__ctaRow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zp-mobile-nav__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  background: linear-gradient(120deg, #d9472d, #f56b3e 50%, #ffa449 100%);
  color: #fff9f5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 18px 35px rgba(204, 90, 46, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zp-mobile-nav__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(204, 90, 46, 0.32);
}

.zp-mobile-nav__cta--ghost {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(199,120,69,0.35);
  color: #c94b2e;
  box-shadow: 0 10px 30px rgba(201,75,46,0.15);
}

.zp-mobile-nav__cta--ghost:hover {
  background: #fff4ed;
  border-color: rgba(199,120,69,0.6);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(201,75,46,0.2);
}

.zp-mobile-nav__footer {
  padding: 20px 28px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  background: rgba(12,5,4,0.5);
}

.zp-mobile-nav__tagline {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.zp-mobile-nav__footerBrand {
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
}

.zp-mobile-nav__footerBrand span {
  color: #ffe3cf;
  font-weight: 700;
}

@media (max-width: 520px) {
  .zp-mobile-nav__panel {
    border-radius: 0;
    width: 100%;
  }

  .zp-mobile-nav__grid {
    grid-template-columns: 1fr;
  }

  .zp-mobile-nav__ctaRow {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zp-mobile-nav__backdrop,
  .zp-mobile-nav__panel,
  .zp-mobile-nav__card,
  .zp-mobile-nav__cta {
    transition: none;
  }
}
