/* WebSocialTraffic Mega Menu Styles - Mobile Friendly */
.wst-mega-menu-wrapper {
  position: relative;
  display: inline-block;
  font-family: inherit;
}

.wst-mm-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wst-mm-toggle-btn:hover {
  background: #f8fafc;
  border-color: #2563eb;
  color: #2563eb;
}

.wst-mm-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 9998;
}

.wst-mm-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 900px;
  max-width: 95vw;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-top: 8px;
  z-index: 9999;
}

.wst-mm-container.is-open {
  display: block;
}

.wst-mm-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.wst-mm-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 6px;
}

.wst-mm-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
}

.wst-mm-search-box {
  margin-bottom: 16px;
}

.wst-mm-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  box-sizing: border-box;
}

.wst-mm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wst-mm-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ea580c;
}

.wst-mm-col-badge {
  font-size: 10px;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
}

.wst-mm-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wst-mm-item {
  margin-bottom: 6px;
}

.wst-mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  transition: all 0.15s ease;
}

.wst-mm-link:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.wst-mm-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 6px;
}

.wst-badge-orange { background: #ffedd5; color: #c2410c; }
.wst-badge-rose { background: #ffe4e6; color: #e11d48; }
.wst-badge-purple { background: #f3e8ff; color: #7e22ce; }
.wst-badge-emerald { background: #d1fae5; color: #047857; }
.wst-badge-blue { background: #dbeafe; color: #1d4ed8; }

.wst-mm-price {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-left: 8px;
}

.wst-mm-promo-card {
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wst-mm-promo-badge {
  font-size: 11px;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 6px;
}

.wst-mm-promo-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #0f172a;
}

.wst-mm-promo-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 12px;
}

.wst-mm-promo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  font-size: 12px;
  color: #334155;
}

.wst-mm-promo-features li {
  margin-bottom: 4px;
}

.wst-mm-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}

/* Mobile-Friendly Media Queries (Drawer Mode) */
@media (max-width: 991px) {
  .wst-mm-backdrop.is-open {
    display: block;
  }

  .wst-mm-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    border-radius: 0;
    margin: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .wst-mm-container.is-open {
    display: block;
    transform: translateX(0);
  }

  .wst-mm-mobile-header {
    display: flex;
  }

  .wst-mm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
