/* ===== MOBILE DRAWER V2 — MA-ZAL ===== */

/* منع الـ drawer من إظهار scroll أفقي في RTL */
html, body {
  overflow-x: hidden;
}

.mz101-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
}

.mz101-drawer.mz101Open {
  pointer-events: all;
}

/* Backdrop */
.mz101-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 0, 0.60);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .28s ease;
}

.mz101-drawer.mz101Open .mz101-drawer-backdrop {
  opacity: 1;
}

/* Panel */
.mz101-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: linear-gradient(160deg, #2A1E0C, #1E1508);
  border-left: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: -20px 0 60px rgba(10, 6, 0, 0.50);
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100%);
  transition: transform .30s cubic-bezier(.16,1,.3,1);
  overflow-y: auto;
}

[dir="rtl"] .mz101-drawer-panel {
  right: auto; left: 0;
  border-left: none;
  border-right: 1px solid rgba(201, 168, 76, 0.22);
  transform: translateX(-100%);
  box-shadow: 20px 0 60px rgba(10, 6, 0, 0.50);
}

.mz101-drawer.mz101Open .mz101-drawer-panel {
  transform: translateX(0);
}

/* Head */
.mz101-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.14);
}

.mz101-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mz101-drawer-logo {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.14));
}

.mz101-drawer-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #C9A84C;
}

.mz101-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(201, 168, 76, 0.06);
  color: rgba(196, 172, 122, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .18s ease;
}

.mz101-drawer-close:hover {
  background: rgba(180, 40, 40, 0.12);
  border-color: rgba(180, 40, 40, 0.35);
  color: #9A2222;
}

/* Nav */
.mz101-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 0;
  gap: 2px;
}

.mz101-drawer-link {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: rgba(232, 217, 184, 0.78);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: .18s ease;
  letter-spacing: 0.01em;
}

.mz101-drawer-link:hover {
  color: #C9A84C;
  background: rgba(201, 168, 76, 0.07);
  border-color: rgba(201, 168, 76, 0.18);
  padding-left: 18px;
}

[dir="rtl"] .mz101-drawer-link:hover {
  padding-left: 14px;
  padding-right: 18px;
}

/* Separator */
.mz101-drawer-sep {
  margin: 16px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.22), transparent);
}

/* Actions */
.mz101-drawer-actions {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mz101-drawer-signin {
  width: 100%;
  justify-content: center;
}

.mz101-drawer-actions .mz101-btn-outline {
  width: 100%;
  justify-content: center;
}

/* Markets */
.mz101-drawer-markets {
  margin-top: auto;
  padding: 18px 14px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid rgba(201, 168, 76, 0.10);
}

.mz101-drawer-markets span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  background: rgba(201, 168, 76, 0.05);
  color: rgba(196, 172, 122, 0.55);
  font-size: 11px;
  letter-spacing: 0.04em;
}