/**
 * MegaStoreVn — Bricks element: mega-category-mobile
 */

.wpthemify-dmm {
  font-family: inherit;
  color: #0f172a;
}

.wpthemify-dmm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpthemify-dmm-lv1 {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.wpthemify-dmm-lv1-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.wpthemify-dmm-lv1-link {
  flex: 1;
  padding: 12px 4px 12px 0;
  text-decoration: none;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
}

.wpthemify-dmm-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.wpthemify-dmm-toggle:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.wpthemify-dmm-chevron {
  transition: transform 0.2s ease;
}

.wpthemify-dmm-lv1.is-open .wpthemify-dmm-chevron {
  transform: rotate(180deg);
}

.wpthemify-dmm-lv2-list {
  display: none;
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
}

.wpthemify-dmm-lv1.is-open .wpthemify-dmm-lv2-list {
  display: block;
}

.wpthemify-dmm-lv2-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  transition: background 0.15s;
}

.wpthemify-dmm-lv2-link:hover {
  background: #f8fafc;
}

.wpthemify-dmm-lv2-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.wpthemify-dmm-lv2-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.wpthemify-dmm-lv2-icon .wpthemify-dmm-icon-font {
  font-size: 24px;
  line-height: 1;
  color: #64748b;
}

.wpthemify-dmm-icon-placeholder {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.wpthemify-dmm-lv2-text {
  line-height: 1.35;
}

.wpthemify-dmm-empty {
  margin: 0;
  padding: 16px 0;
  color: #64748b;
  font-size: 14px;
}
